body{
    font-family: Arial, sans-serif;
    margin:0;
    padding:20px;
    background:#f5f5f5;
    color:#111827;
}

.container{
    max-width:1400px;
    margin:auto;
}

h1{
    text-align:center;
}

.brand-panel,
.controls{
    background:white;
    padding:18px;
    border-radius:14px;
    box-shadow:0 1px 5px rgba(0,0,0,.1);
    margin-bottom:20px;
}

.brand-add-area,
.controls{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    align-items:end;
}

.controls div{
    display:flex;
    flex-direction:column;
}

input,
select{
    padding:10px;
    min-width:180px;
}

input[type="color"]{
    min-width:60px;
    height:42px;
    padding:3px;
}

button{
    padding:11px 18px;
    border:none;
    border-radius:10px;
    background:#111827;
    color:white;
    cursor:pointer;
    font-weight:600;
}

.brand-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:15px;
}

.brand-tag{
    color:white;
    padding:7px 10px;
    border-radius:20px;
    font-size:13px;
    display:flex;
    align-items:center;
    gap:8px;
}

.brand-tag button{
    background:rgba(255,255,255,.25);
    padding:2px 6px;
    border-radius:50%;
}

#daySelector{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
    margin-bottom:24px;
}
.quick-select{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:16px;
}

.quick-select button{
    margin-bottom:4px;
}
.day-button{
    width:45px;
    height:45px;
    border:none;
    border-radius:8px;
    background:white;
    color:#111827;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    box-shadow:0 1px 4px rgba(0,0,0,.15);
}

.day-button.selected{
    background:#2563eb;
    color:white;
}

#addPlan{
    margin-bottom:20px;
}

.calendar-header,
#calendarGrid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:10px;
}

.calendar-header{
    margin-top:20px;
    margin-bottom:10px;
}

.calendar-header div{
    text-align:center;
    font-weight:bold;
    background:#111827;
    color:white;
    padding:10px;
    border-radius:8px;
}

.day-cell{
    background:white;
    min-height:140px;
    border-radius:10px;
    padding:10px;
    box-shadow:0 1px 4px rgba(0,0,0,.1);
}

.empty-cell{
    background:transparent;
    box-shadow:none;
}

.day-number{
    font-weight:bold;
    margin-bottom:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.day-number small{
    font-size:11px;
    color:#6b7280;
}

.plan{
    font-size:12px;
    padding:7px;
    border-radius:7px;
    margin-bottom:5px;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:5px;
}

.plan button{
    padding:0 5px;
    background:rgba(255,255,255,.25);
    border-radius:50%;
}

@media(max-width:768px){

    .container{
        padding:0;
    }

    .calendar-header,
    #calendarGrid{
        grid-template-columns:repeat(7, minmax(90px, 1fr));
        min-width:720px;
    }

    .calendar-wrapper{
        overflow-x:auto;
        padding-bottom:10px;
    }

    .calendar-header{
        display:grid;
    }

    .day-cell{
        min-height:120px;
    }
}
#exportExcel{
    background:#16a34a;
    margin-left:10px;
}

.plan{
    cursor:grab;
}

.plan:active{
    cursor:grabbing;
    opacity:.7;
}

.day-cell.drag-over{
    outline:3px dashed #2563eb;
    background:#eff6ff;
}
.login-screen{
    position:fixed;
    inset:0;
    background:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.login-box{
    background:white;
    width:360px;
    max-width:90%;
    padding:30px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.login-box input{
    width:100%;
    margin:15px 0;
    box-sizing:border-box;
}

.login-box button{
    width:100%;
}

#loginError{
    display:block;
    margin-top:12px;
    color:#dc2626;
    font-weight:bold;
}
.edit-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.edit-box{
    background:white;
    width:360px;
    max-width:90%;
    padding:24px;
    border-radius:16px;
}

.edit-box label{
    display:block;
    margin-top:12px;
    font-weight:600;
}

.edit-box select{
    width:100%;
    margin-top:6px;
}

.edit-actions{
    display:flex;
    gap:10px;
    margin-top:20px;
}

#closeEdit{
    background:#6b7280;
}
.brand-panel-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.brand-section{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #e5e7eb;
}

#toggleBrandList{
    background:#374151;
}
/* Hızlı seçim butonları */
.quick-select button{
    background:#f3f4f6;
    color:#111827;
    border:1px solid #111827;
}

.quick-select button:hover{
    background:#e5e7eb;
}
#selectAllBtn,
#clearSelectionBtn{
    background:#0f172a;
    color:white;
    border:none;
}

/* Takvim gün başlıkları */
.calendar-header div{
    background:#0f172a;
    color:white;
}

/* Ana aksiyon butonları */
#addPlan{
    background:#2563eb;
}

#exportExcel{
    background:#16a34a;
}

#copyMonthBtn,
#goTodayBtn,
#clearMonthBtn{
    background:#f3f4f6;
    color:#111827;
    border:1px solid #111827;
}

#copyMonthBtn:hover,
#goTodayBtn:hover,
#clearMonthBtn:hover{
    background:#e5e7eb;
}

.day-cell.today{
    border:3px solid #2563eb;
    background:#eff6ff;
}

.day-cell.today .day-number span{
    background:#2563eb;
    color:white;
    padding:4px 8px;
    border-radius:8px;
}
#clearMonthBtn{
    background:#f3f4f6;
    color:#111827;
    border:1px solid #111827;
}
.action-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
    margin:24px 0;
}

.calendar-wrapper{
    width:100%;
    display:block;
    clear:both;
}

.calendar-header,
#calendarGrid{
    width:100%;
}
.action-buttons button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:44px;
    line-height:1;
    margin:0;
}

#addPlan,
#exportExcel,
#copyMonthBtn,
#goTodayBtn,
#clearMonthBtn{
    margin:0;
}
.planner-top-actions{
    display:flex;
    justify-content:center;
    margin:10px 0 20px;
}

.back-suite-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    border-radius:10px;
    background:#f3f4f6;
    color:#111827;
    border:1px solid #111827;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
}

.back-suite-btn:hover{
    background:#e5e7eb;
}
