@media (min-width:320px)  { 
    .banner-padding{
        padding-top:135px;
    }
}
@media (min-width:600px)  {
    .banner-padding{
        padding-top:120px;
    }
}
@media (min-width:801px)  { 
    .banner-padding{
        padding-top:130px;
    }
}

@media (min-width:1025px) { 
    .banner-padding{
        padding-top:50px;
    }

}
.icon-square-small {
    width: 53px;
    height: 60px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0d4c7c !important;
}


@media (max-width:1025px) { 

    .btn-group-example .btn:before {
        content: "OR";
        position: absolute;
        font-size: 10px;
        width: 24px;
        height: 24px;
        line-height: 24px;
        border-radius: 50%;
        background-color: #74788d;
        color: #eff2f7;
        border: 1px solid #fff;
        left: 47%;
        top: 0px;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 1;
    }

}

    :root{
        --bg: #f5f7fb;
        --card: #ffffff;
        --line: #e9edf5;
        --line-soft: #f2f4f8;
        --text: #1f2a37;
        --muted: #7b8794;
        --primary: #0d6efd;
        --primary-soft: #e7f1ff;
        --success-soft: #e9f8ef;
        --danger-soft: #fdecec;
        --warning-soft: #fff4df;
        --blocked-soft: #ffe5e5;
        --shadow: 0 8px 24px rgba(16,24,40,.06);
        --time-width: 62px;
        --staff-width: 170px;
        --header-height: 84px;
        --slot-height: 72px;
    }

    body {
        background: var(--bg);
    }

    .calendar-wrapper {
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .days-header {
        display: flex;
        overflow-x: auto;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .day-item {
        min-width: 120px;
        padding: 12px 10px;
        text-align: center;
        border-right: 1px solid var(--line-soft);
        font-weight: 600;
        font-size: 13px;
    }

    .day-item.current-day {
        background: var(--primary);
        color: #fff;
    }

    .calendar-scroll {
        overflow: auto;
        max-height: 75vh;
    }

    .calendar-grid {
        display: flex;
        min-width: max-content;
    }

    .time-column {
        width: 40px;
        flex-shrink: 0;
        background: #fbfcfe;
        position: sticky;
        left: 0;
        z-index: 3;
        padding-top: 13px;
    }

    .time-cell {
        /*height: var(--slot-height);*/
        height: 30px;
        /*border-bottom: 1px solid var(--line-soft); */
        
        font-size: 11px;
        color: var(--muted);
        align-content: center;
        text-align: center;

    }

    .day-column {
        border-left: 1px solid var(--line);
    }

    .day-column-day {
        border: 1px solid var(--line);
        width: 60vh;
    }
    .staff-column-day{       
        /* border-left: 1px solid var(--line-soft); */
        width: 100%;
        background: #fff;
    }
    .team-row {
        display: flex;     
    }

    .accordion-button{
        padding:0px;
    }
    .accordion-button:not(.collapsed){
        background-color: transparent;
    }

    .form-control{
        border-radius: 5px;
    }

    .modal-open .modal {
        padding-right: 0px !important;
    }

    .staff-column {
        /* min-width: 100%; */
        /* border-left: 1px solid var(--line-soft); */
        width: 20vh;
        
        background: #fff;
    }

    .staff-header {
        /* height: var(--header-height); */
        border-bottom: 1px solid var(--line);
        text-align: center;
        padding: 10px 6px;
        background: #fff;
       position: sticky;
        top: 0;
        z-index: 11;
        height: 120px;
    }

    .staff-avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 4px;
    }

    .staff-name {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.1;
    }

    .slot {
        /*height: var(--slot-height);*/
        height:30px;
        border-bottom: 1px solid var(--line-soft);
        position: relative;
        /*background: #fff; */
       /* opacity: 0.9; */
    }

    .slot.free:hover {
        background: #f8fbff;
    }

    .slot-add {
      
        /* position: absolute; */
        inset: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px dashed transparent;
        border-radius: 12px;
        color: #cccccc;
        font-size: 18px;
        transition: .15s ease;
        align-content: center;
        display: flex;
        height: 30px;
    }

    .slot.free:hover .slot-add {
        border-color: #cfe2ff;
        color: #8bb8ff;
        background: #f8fbff;
    }

    .bg-light-grey{        
        background-color: #f5f5f5 !important;
    
    }

    .bg-light-empty {
       background: repeating-linear-gradient(
            45deg,
            #fcfcfc,
            #fcfcfc 8px,
            #f7f7f7 8px,
            #f7f7f7 16px
        );
    }

    .slot-separator{
        border: 1px solid #e5e8ee;
    }


    .item {
        min-width: 0;   /* 🔥 allows shrinking inside flex */
    }

    .booking-item {
        width: 100%;
        height: 60px;
        background: #f6b26b;
        overflow: hidden;
        z-index: 1;
        padding: 8px;
        font-size: 11px;
        line-height: 1.2;
        overflow: hidden;
        width: 100%;
        border: 1px solid #9ca2a8;
    }
 

    .booking-title {
        font-weight: 700;
        margin-bottom: 2px;
    }

    .item2 {
        min-width: 0;
    }

    .booking-item2 {
        height: 90px;
    }

    .booking-item2.empty {
        background: transparent;
    }
    .flex-equal {
        flex: 1 1 0;   /* 🔥 equal width */
        min-width: 0;  /* 🔥 allows shrinking */
    }


    .flex-equal {
        flex: 1 1 0;
        min-width: 0;
    }



    .booking-time,
    .booking-client {
        font-size: 10px;
        opacity: .9;
    }

    .status-confirmed {
        border-left: 4px solid #4ac36e;
    }

    .status-completed {
        border-left: 4px solid #22a06b;
    }

    .status-pending {      
        border-left: 4px solid #0d6efd;
    }

     .status-missed {
        border-left: 4px solid #dc3545;
    }

    .status-cancelled {
        border-left: 4px solid #f59e0b;        
    }

    .status-blocked {
        background: repeating-linear-gradient(
            45deg,
            #ffe5e5,
            #ffe5e5 8px,
            #ffd1d1 8px,
            #ffd1d1 16px
        );
        border-left: 4px solid #dc3545;
        color: #842029;
    }


    .status-vacations {
        background: repeating-linear-gradient(
            45deg,
            #e6ffed,
            #e6ffed 8px,
            #ccf5d8 8px,
            #ccf5d8 16px
        );
        border-left: 4px solid #28a745;
        color: #0f5132;
    }

    @media (max-width: 768px) {
        :root{
            --time-width: 56px;
            --staff-width: 145px;
            --slot-height: 68px;
            --header-height: 78px;
        }      
    }


    .bg-grey-light{
        background: #fcfcfd;
    }

    
    .autocomplete-results {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border: 1px solid #ddd;
        z-index: 9999;
        max-height: 200px;
        overflow-y: auto;
        display: none;
    }

    .autocomplete-item {
        padding: 8px 12px;
        cursor: pointer;
        text-align: left;
    }

    .autocomplete-item:hover {
        background: #f5f5f5;
    }
   .client-card-modern {
        background: #fff;
        border-radius: 18px;
        padding: 12px 17px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        margin-bottom: 15px;
        transition: all 0.2s ease;
        color:#6f6e6e;
    }

    .client-card-modern:hover {
        /*
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        */
    }

    /* avatar */
    .avatar-modern {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #a0ccff, #0d4c7c);
        color: #fff;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }

  
    .box-price-package{
        font-size: 28px;
        font-weight: 700;
        color: #495057;
    }
    /* text */
    .client-name {
        font-weight: 600;
        font-size: 15px;
    }

    .client-username {
        font-size: 12px;
        color: #888;
    }

    /* divider */
    .client-divider {
        height: 1px;
        background: #f0f0f0;
        margin: 12px 0;
    }

    /* info grid */
    .client-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        font-size: 13px;
    }

    .client-info-grid .full {
        grid-column: span 2;
    }

    .label {
        display: block;
        font-size: 11px;
        color: #aaa;
    }

    /* badge */
    .status-badge {
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
    }

    .status-badge.active {
        background: #e6f7ef;
        color: #1ca67a;
    }

    .status-badge.inactive {
        background: #fdeaea;
        color: #d9534f;
    }

    /* actions */
    .client-actions i {
        margin-left: 10px;
        cursor: pointer;
        color: #666;
        transition: 0.2s;
    }

    .client-actions i:hover {
        color: #000;
    }

  .week-dropdown-btn {
    background: transparent;
    border: none;
    width: 100%;
    padding: 0;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.week-dropdown-btn::after {
    display: none;
}

.week-dropdown-menu {
    border-radius: 14px;
    padding: 10px;
    border: 1px solid #e8ebf0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 220px;
}

.week-dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
}

.week-dropdown-menu .dropdown-item.active,
.week-dropdown-menu .dropdown-item:hover {
    background: #eaf2ff;
    color: #2563eb;
}
  .week-navigation-wrapper {
    background: #f8f9fb;
    border-radius: 18px;
    padding: 10px;
    border: 1px solid #eceef3;
}

.week-nav-card {
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 16px;
    padding: 14px 10px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    transition: 0.2s ease;
    cursor: pointer;
}

.week-nav-card:hover {
    border-color: #cfd8ea;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.week-nav-icon-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.week-nav-icon-group i.bx-calendar {
    font-size: 28px;
    color: #7f8ba3;
}

.arrow-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eaf2ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle i {
    font-size: 22px;
    color: #4d8dff;
}

.week-nav-label {
    font-size: 12px;
    font-weight: 600;
    color: #1f2a44;
}

.week-title {
    font-size: 15px;
    font-weight: 600;
    color: #2f3a4d;
    margin-bottom: 4px;
}

.week-range {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: #111827;
}

.week-month {
    font-size: 18px;
    font-weight: 600;
    color: #4b5563;
    margin-top: 6px;
}


.week-range-small {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: #111827;
}

.week-month-small {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .week-range {
        font-size: 20px;
    }

    .week-title {
        font-size: 16px;
    }

    .week-month {
        font-size: 14px;
    }

    .week-nav-card {
        min-height: 65px;
        padding: 10px;
    }
}

    .client-search-box {
        background: #fff;
        padding: 16px;
        border-radius: 18px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.04);
        margin-bottom: 10px;
    }

    /* título */
    .search-title {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* grid */
    .search-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* input moderno */
    .input-group-modern {
        position: relative;
    }

    .input-group-modern i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #a0ccff;
        font-size: 14px;
    }

    .input-group-modern input, .input-group-modern select{
        padding-left: 34px;
        height: 42px;
        border-radius: 10px;
        border: 1px solid #eee;
        font-size: 13px;
    }

    #colorpicker-default{
        height: 42px;
        border: 1px solid #eee;
    }

    .input-group-modern input:focus {
        border-color: #a0ccff;
        box-shadow: 0 0 0 2px rgba(160,204,255,0.2);
    }

    /* botões */
    .search-actions {
        display: flex;
        gap: 10px;
        margin-top: 12px;
    }


    /* BASE */
    .btn-primary-modern,
    .btn-success-modern,
    .btn-warning-modern,
    .btn-danger-modern,
    .btn-reset-modern,
    .btn-dark-modern,
    .btn-light-modern {
        /* padding: 10px 18px; */
        border-radius: 10px;
        font-size: 14px;
        box-shadow: 0 0 0 1px rgb(221 221 221);
    }

    
    .btn-dark-modern {
        background: #212529;
        border: 2px solid #fdfdfd;
        box-shadow: 0 0 0 1px rgb(221 221 221);
        color: #fff;
    }

    .btn-primary-modern {
        background: #0d6efd;
        border: 2px solid #fdfdfd;
        box-shadow: 0 0 0 1px rgb(221 221 221);
        color: #fff;
    }

    .text-light-grey{
        color:#bbbbbb;
    }

    .btn-outline-dark{
        color: #212529;
        background-color: transparent;
        background-image: none;
        border-color: #212529;
    }

    

    

    .form-control2 {
        background: #ffffff;     
        border: 0px;
        display: block;
        width: 100%;
        padding: .375rem .75rem;
    }

    .form-control-box{
        background: #ffffff;
        padding: 0px 5px;
        border-radius: 8px;
        border: 0px solid #dfdfdf;
    }
    
    .progress-big {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 1.625rem;
        overflow: hidden;
        font-size: .60938rem;
        background-color: #f6f6f6;
        border-radius: .25rem;
    }
    .btn-primary-modern:hover {
        background: #000000;
        color: #fff;
    }


    .btn-success-modern {
        background: #1bc559;
        border: 2px solid #fdfdfd;
         box-shadow: 0 0 0 1px rgb(221 221 221);
        color: #fff;
    }


    .btn-success-modern:hover {
        background: #000000;
        color: #fff;
    }

    
    .btn-danger-modern {
        background: #ef4444;
        border: 2px solid #fdfdfd;
        box-shadow: 0 0 0 1px rgb(221 221 221);
        color: #fff;
    }


    .btn-danger-modern:hover {
       background: #000000;
        color: #fff;
    }

    .btn.disabled, .btn:disabled, fieldset:disabled .btn {
        pointer-events: none;
        opacity: 1;
        background: #6e7174;
    }

    .btn-warning-modern {
        background: #f59e0b;
        border: 2px solid #fdfdfd;
        box-shadow: 0 0 0 1px rgb(221 221 221);
        color: #fff;
    }


    .btn-warning-modern:hover {
        background: #000000;
        color: #fff;
    }


    .btn-reset-modern {
        background: transparent;
        border: 1px solid #ddd;
        box-shadow: 0 4px 12px rgb(81 88 98 / 12%);
    }


    .client-actions-modern {
        display: flex;
        gap: 8px;
    }

    /* base */
    .action-btn {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        color: #6c757d;
        transition: all 0.2s ease;
        font-size: 18px;
        border: 1px solid #ddd;
    }

    /* hover geral */
    .action-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    }

    /* view */
    .action-btn.view:hover {
        background: rgba(160,204,255,0.15);
        color: #0d4c7c;
    }

    /* edit */
    .action-btn.edit:hover {
        background: rgba(255,193,7,0.15);
        color: #b88900;
    }

    /* delete */
    .action-btn.delete:hover {
        background: rgba(255,80,80,0.15);
        color: #e74c3c;
    }

    /* mobile extra */
    @media (max-width: 576px) {
        .search-grid {
            grid-template-columns: 1fr;
        }
    }


 



    .day-pill{       
        padding: 6px 8px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--line);
        text-align:center;
        box-shadow: 0 2px 8px rgba(16,24,40,.03);
        cursor: pointer;
        transition: .2s ease;
    }

    .day-pill:hover{
        transform: translateY(-1px);    
    }

    .day-pill .weekday{
        display:block;
        font-size: 10px;
        color: var(--muted);
        margin-bottom: 2px;
        text-transform: capitalize;
    }

    .day-pill .daynum{
        display:block;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.1;
       
    }

    .day-pill .month{
        display:block;
        font-size: 10px;
        /*color: var(--muted);*/
        color: #495057;
        margin-top: 2px;
        text-transform: capitalize;
    }

    .day-pill.active{
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        box-shadow: 0 10px 20px rgba(13,110,253,.22);
    }

    .day-pill > .active{
        color: #fff;
    }

    .day-pill.active .weekday,
    .day-pill.active .month{
        color: rgba(255,255,255,.8);
    }

    .days-strip-wrap{
        overflow-x: auto;
        scrollbar-width: none;
        position: relative;
       /* padding-top: 40px; */
    }
    .days-strip-wrap::-webkit-scrollbar{ display:none; }

    .days-strip{
        /*display: inline-flex; */
        /*display:flex; */
        gap:10px;
        padding-bottom: 2px;
        /* min-width: max-content; */
        /*padding-top: 4rem !important;*/
    }

     
    .app-shell{
        max-width: 100%;
        min-height: 100vh;
        background: var(--bg);
    }


    .topbar{      
        border-bottom: 1px solid var(--line);            
       
    }

    .app-shell {
        max-width: 100%;
        min-height: 100vh;
        background: var(--bg);
    }


    

        .legend{
            display:flex;
            flex-wrap:wrap;
            gap:8px 14px;
            font-size:11px;
            color: var(--muted);
        }

        .legend-item{
            display:flex;
            align-items:center;
            gap:6px;
        }

        .legend-dot{
            width: 16px;
            height: 16px;
            border-radius:50%;
        }

        .legend-dot.confirmed{ background: var(--primary); }
        .legend-dot.completed{ background: #22a06b; }
        .legend-dot.pending{ background: #e6a700; }
        .legend-dot.cancelled{ background: #dc3545; }
        .legend-dot.free{ background: #dbeafe; }
        .legend-dot.blocked {
            background: repeating-linear-gradient(
                45deg,
                #ffe5e5,
                #ffe5e5 3px,
                #ffd1d1 3px,
                #ffd1d1 4px
            );
        }
        .modal-footer {
            padding: 14px 0px;
        }

        .calendar-card{
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 8px;
            box-shadow: var(--shadow);
            overflow: hidden;
            /* height: 442px; */
            height: 65vh;
            display: flex;
            flex-direction: column;
      
        }

        #schedule-mobile-calendar{
            position: relative;
        }


.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 130;
    padding: 10px 0;
    height: 70px;
}

.mobile-bottom-nav .nav-item {
    text-align: center;
    font-size: 11px;
    color: #999;
    width: 65px;
}
.fc-toolbar-title {
    display: none !important;
}


.mobile-bottom-nav .nav-item.active {
    color: #0d6efd;
}

.mobile-bottom-nav .center-btn {
    width: 70px;
    height: 70px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -70px;
    box-shadow: 0 4px 12px rgba(13,110,253,0.4);
    font-size: 50px;
    border: 2px solid;
}

.footer-space{
    height:20px
}

.footer-space-mobile{
    height:100px
}


/* FAB */
.fab-container {
    position: relative;
}

.center-btn {
    width: 55px;
    height: 55px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    box-shadow: 0 6px 16px rgba(13,110,253,0.4);
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

/* Sub buttons */
.fab-menu {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 35px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    width: 80%;
}

.fab-menu.show {
    opacity: 1;
    pointer-events: auto;
}

.fab-item {
    background: #0d6efd;
    border-radius: 30px;
    padding: 14px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid #ededed;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    /* font-size: 50px; */
    border: 2px solid;
}

.fab-item:hover{
    color: #f1f7fa;
    background-color: #0059dd;
}

/* Rotate + */
.center-btn.open {
    transform: rotate(45deg);
}

.logo-specialcalendar-page{
    max-width: 120px;
    height: auto;
}
.image-box-page{
    width: 120px; /* or your size */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
}
.image-box-page img {
    width: 100%;   
    object-fit: contain;
}

.calendar-block-stripe {
    background: repeating-linear-gradient(
        45deg,
        #ffe5e5,
        #ffe5e5 10px,
        #ffd1d1 10px,
        #ffd1d1 20px
    ) !important;

    border: 1px solid #f5bcbc !important;
    color: #000 !important;
}

.transfer-value-box{
    font-size:28px;
    font-weight:700;
    background:#f8f9fa;
    border:2px dashed #dee2e6;
    padding:15px 20px;
    border-radius:10px;
    display:inline-block;
    min-width:200px;
}

.yii-debug-toolbar_position_bottom{
    display: none !important;
}

.error-msg{
    color:red;
    font-size: 12px;
}

.logo-url:hover {
    text-decoration: none !important;
}
  
.navbar-brand-box {
    padding: 10px!important;
}

.navbar-box-small{
     background: #000000;
    /* padding: 10px 5px 0px 5px; */
    justify-content: center;
    display: flex;
}



.navbar-box-big{
    background: #000000;
     /* padding: 0px 1.7rem; */
    /*border-bottom: 1px  #43495d solid;*/
    justify-content: center;
    display: flex;
     /* padding: 10px 5px 0px 5px; */

}
body[data-sidebar=dark] .vertical-menu{
    background: #000000;
}
body[data-sidebar=dark] .navbar-brand-box{
    background: #000000;
  
}


hr{
   height: 2px !important;
}

.vertical-menu {
    position: fixed !important; 
}

.footer{
    position: fixed;
    z-index:99;
}

.pagination-modern {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-left: 0;
    margin: 0;
}

.pagination-modern li {
    list-style: none;
}

/* links */
.pagination-modern li a,
.pagination-modern li span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    background: #f8fafc;
    color: #0d4c7c;

    border: 1px solid #e2e8f0;
    text-decoration: none;

    transition: all 0.2s ease;
}

/* hover */
.pagination-modern li a:hover {
    background: #a0ccff;
    border-color: #a0ccff;
}

/* active */
.pagination-modern li.active a {
    background: #0d4c7c;
    color: #fff;
    border-color: #0d4c7c;
}

/* disabled */
.pagination-modern li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

/* arrows */
.pagination-modern li.prev a,
.pagination-modern li.next a {
    font-weight: bold;
}


.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    padding-top: 20px;
}

.shadow{
    box-shadow: 0px 0px 40px rgba(200, 200, 200, 0.3) !important;
}
.card-body {
    border: 0px solid #f0f2f7;
    /* border-radius: 20px; */
    padding: 2.25rem 1.25rem;    
}

.card {
    margin-bottom: 0px;
}


.package-card{
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border:1px solid #eef2f7;
}

.icon-circle{
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.icon-square {
    width: 60px;
    height: 60px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.icon-soft{background:#f3f5ff;color:#5c6cff;}
.icon-green{background:#edf8f3;color:#2ca77f;}
.icon-gold{background:#f8f0df;color:#d69d2a;}
.icon-pink{background:#f7e7f5;color:#be63b4;}
.icon-blue{background:#e8f1ff;color:#3973eb;}
.icon-yellow{background:#f9f0df;color:#dd9b17;}

.service-icon{
    width:48px;
    height:48px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
}



.dot{
    width:26px;
    height:26px;
    border-radius:6px;
    background:#dee5ec;
    display:flex;
    align-items:center;
    justify-content:center;
}

.dot.active{
    background:#5fc0a8;
    color:white;
    font-weight:bold;
}

.progress-custom{
    height:8px;
    border-radius:20px;
}

.counter-box{
    width:140px;
}

.summary-box{
    background:#f6fbf9;
    border-radius:20px;
}


.usage-dots input {
    display: none;
}

.usage-dots label {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #dee5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* estado ativo */
.usage-dots input:checked + label {
    background: #5fc0a8;
    color: #fff;
    font-weight: bold;
}

/* check icon */
.usage-dots input:checked + label::after {
    content: "✓";
    font-size: 14px;
}

/* hover */
.usage-dots label:hover {
    transform: scale(1.1);
}

.service-history {
    font-size: 14px;
    color: #6c757d;
}

/* Header */
.history-header {
    gap: 10px;
}

.history-title {
    font-weight: 600;
    color: #8a8f98;
}

.history-header .line {
    height: 1px;
    background: #e5e7eb;
}

/* Items */
.history-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.history-item .check-not {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #f44336; /* green */
    position: relative;
    flex-shrink: 0;
}
/* Check icon */
.history-item .check {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #5fb3a5; /* green */
    position: relative;
    flex-shrink: 0;
}

/* Check mark */
.history-item .check::after {
    content: "✓";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.history-item .check-not::after {
    content: "✕";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.small, small {
    font-size: 12px;
}

/* Text */
.history-item .text {
    color: #6c757d;
}

.custom-control {
    padding-left: 0;
}
#calculator-weight::after {
    background:red;
    content: 'Kg'
}

.fc-event{
    cursor: pointer;
}

.close {
    color: #000;
  }
  
  .fc .fc-today-button{
      background-color: #F2F2F4 !important;
      opacity: 1 !important;
    color: #000000 !important;
      border: 1px solid #dfdfdf !important;
  }
  .fc .fc-button-primary{
    background-color: #F2F2F4;
    /* border-color: var(--fc-button-border-color); */
    color: #000000;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
  }
  
  .fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active {
        background-color: #d7d7d7;
        border-color: #dfdfdf;
        color: #000000;
  }

  .fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){
        margin-left: -1px !important;
  }


  

/* CARD */
.loyalty-card-modern {
    background: #fff;
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    width: 100%;
}

/* HEADER */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.title {
    font-weight: 600;
    font-size: 18px;
}

.subtitle {
    font-size: 13px;
    color: #777;
}

/* BADGE */
.badge-modern {
    background: #eef4ff;
    color: #2b7bfa;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}


/* PROGRESS */
.progress-modern {
    height: 8px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5CC2A6, #4BB89C);
    transition: 0.3s ease;
}

/* CHECKPOINTS */
.checkpoints-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.cp {
    flex: 1 1 calc(10% - 10px);
    max-width: 60px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    border: 2px dashed #cfd8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    font-size: 22px;
}

.cp.active {
    background: #5CC2A6;
    border: none;
    color: #fff;
}

.cp:hover {
    border-color: #5CC2A6;
}

.cp.reward {
    background: #fff4cc;
    border: none;
}

.reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 20px;
    background: #f3f5f7;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
}

.reset-btn i {
    font-size: 20px;
}

/* hover */
.reset-btn:hover {
    background: #e9ecef;
    color: #111;
    transform: translateY(-1px);
}

/* active */
.reset-btn:active {
    transform: scale(0.95);
}

/* when visible (optional smooth fade) */
.reset-btn.show {
    opacity: 1;
    transform: translateY(0);
}

/* hidden state */
.reset-btn.d-none {
    display: none !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .cp { flex: 1 1 calc(20% - 10px); }
}

@media (max-width: 480px) {
    .cp { flex: 1 1 calc(25% - 10px); }
}



/* =========================================================
    GLOBAL
========================================================= */


/* =========================================================
    CARD
========================================================= */

.permissions-card{
    background:#fff;
    border-radius:22px;
    padding:24px;
    box-shadow:0 4px 20px rgba(15,23,42,.05);
    border:1px solid #e5e7eb;
}

/* =========================================================
    HEADER
========================================================= */

.permissions-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.permissions-title{
    font-size:24px;
    font-weight:800;
    margin-bottom:4px;
    display:flex;
    align-items:center;
    gap:10px;
}

.permissions-subtitle{
    color:#64748b;
    font-size:14px;
}

/* =========================================================
    ROLE TABS
========================================================= */

.role-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:22px;
}

.role-tab{
    border:none;
    background:#f1f5f9;
    color:#0f172a;
    border-radius:999px;
    padding:12px 18px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:8px;
    transition:.2s ease;
    cursor:pointer;
}

.role-tab:hover{
    background:#e2e8f0;
}

.role-tab.active{
    background:#f59e0b;
    color:white;
}

/* =========================================================
    SECTION
========================================================= */

.section-title{
    font-size:16px;
    font-weight:800;
    margin-bottom:20px;
}

/* =========================================================
    GRID
========================================================= */

.permissions-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

/* =========================================================
    ITEM
========================================================= */

.permission-item{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:14px;
    transition:.2s ease;
}

.permission-item:hover{
    background:#f1f5f9;
}

.permission-label{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px;
    cursor:pointer;
    width:100%;
    margin:0;
}

.permission-checkbox{
    width:18px;
    height:18px;
    accent-color:#2563eb;
    cursor:pointer;
}

.permission-content{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    color:#0f172a;
}

.permission-content i{
    font-size:18px;
    color:#64748b;
}

/* =========================================================
    SAVE BUTTON
========================================================= */

.save-button{
    background:#16a34a;
    color:white;
    border:none;
    border-radius:14px;
    padding:14px 22px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:.2s ease;
}

.save-button:hover{
    background:#15803d;
    color:white;
}

/* =========================================================
    RESPONSIVE
========================================================= */

@media(max-width:768px){

    .permissions-page{
        padding:14px;
    }

    .permissions-grid{
        grid-template-columns:1fr;
    }

    .permissions-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .permissions-title{
        font-size:20px;
    }

    .role-tabs{
        width:100%;
    }

    .role-tab{
        flex:1;
        justify-content:center;
    }

}

@media(max-width:480px){

    .permissions-card{
        padding:18px;
    }

    .permission-label{
        padding:14px;
    }

    .permission-content{
        font-size:14px;
    }

    .role-tab{
        width:100%;
    }

}



/*
|--------------------------------------------------------------------------
| FILTERS
|--------------------------------------------------------------------------
*/

.filter-pill{
    padding:10px 16px;
    border-radius:40px;
    font-size:13px;
    font-weight:700;
    transition:0.2s;
    cursor:pointer;
}

.filter-pill:hover{
    transform:translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| FLOOR
|--------------------------------------------------------------------------
*/

.floor-section{
    margin-bottom:34px;
}

.floor-title{
    font-size:11px;
    font-weight:800;
    letter-spacing:1px;
    color:#64748b;
    margin-bottom:14px;
}

/*
|--------------------------------------------------------------------------
| GRID
|--------------------------------------------------------------------------
*/

.room-grid{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

/*
|--------------------------------------------------------------------------
| ROOM CARD
|--------------------------------------------------------------------------
*/

.room-card{
    width: 102px;
    min-height: 126px;
    border: 1px solid;
    border-radius: 12px;
    padding: 8px;
    transition: 0.2s;
    cursor: pointer;
}

.room-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(0,0,0,0.06);
}

.room-card.hidden-room{
    display:none;
}

.room-number{
    font-size:12px;
    font-weight:800;
    line-height:1;
    color:#111827;
    margin-bottom:8px;
}

.room-status{
    font-size:11px;
    font-weight:800;
    margin-bottom:6px;
    letter-spacing:0.5px;
}

.room-type{
    font-size:11px;
    font-weight:700;
    color:#475569;
    margin-bottom:8px;
}

.room-meta{
    font-size:11px;
    color:#6b7280;
    margin-bottom:8px;
}

.room-housekeeper{
    font-size:11px;
    color:#475569;
    display:flex;
    align-items:center;
    gap:4px;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .cleaning-board-page{
        padding:14px;
    }

    .room-card{
        width:calc(50% - 6px);
    }

}



/*
main > .container {
    padding: 70px 15px 20px;
}

.footer {
    position: fixed !important;
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}
*/

/* add sorting icons to gridview sort links */

/*
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
*/

/* align the logout "link" (button in form) of the navbar */

/*
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


body {
    
    font-family: sans-serif;
  }
  
  .form-rendered #build-wrap {
    display: none;
  }
  
  .render-wrap {
    display: none;
  }
  
  .form-rendered .render-wrap {
    display: block;
  }
  
  #edit-form {
    display: none;
    float: right;
  }
  
  .form-rendered #edit-form {
    display: block;
  }
  */
  