/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-72ui1en82n] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-72ui1en82n] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.layout-root[b-72ui1en82n] {
    display: flex;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
}

.sidebar[b-72ui1en82n] {
    background: linear-gradient(-167deg, #002D94, #E0F2C9);
    color: #fff;
    width: 250px;
    min-width: 200px;
    max-width: 300px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .sidebar .sidebar-header[b-72ui1en82n] {
        display: flex;
        align-items: center;
        padding: 1rem;
        background: white;
    }

    .sidebar .sidebar-title[b-72ui1en82n] {
        font-size: 1.2rem;
        font-weight: 600;
        margin-left: 1rem;
        font-family: 'Poppins', sans-serif;
    }

    .sidebar .sidebar-toggle[b-72ui1en82n] {
        background: none;
        border: none;
        color: #fff;
        font-size: 2.2rem;
        cursor: pointer;
        z-index: 2002;
        padding: 0.5rem 1rem;
        transition: background 0.2s;
    }

.desktop-toggle[b-72ui1en82n] {
    display: none;
}

.mobile-toggle[b-72ui1en82n] {
    display: none;
    position: fixed;
    top: 1.2rem;
    left: 1.2rem;
    background: #002D94;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-overlay[b-72ui1en82n] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.35);
    z-index: 2001;
}

.sidebar-menu[b-72ui1en82n] {
    list-style: none;
    padding: 2.5rem 0 0 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-menu-btn[b-72ui1en82n] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff !important;
    background: none;
    border: none;
    font-size: 1.25rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: left;
    width: 100%;
    cursor: pointer;
    border-left: 4px solid transparent;
    border-radius: 0 1.2rem 1.2rem 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    margin-bottom: 25px;
}

    .sidebar-menu-btn:hover[b-72ui1en82n], .sidebar-menu-btn:focus[b-72ui1en82n] {
        background: #0033b3;
        border-left: 4px solid #fff;
        color: #fff !important;
        outline: none;
    }

.sidebar-icon[b-72ui1en82n] {
    font-size: 1.5rem !important;
    color: #fff !important;
    vertical-align: middle;
    margin-right: 0.75rem;
    display: inline-flex;
    align-items: center;
}

.sidebar-link[b-72ui1en82n],
.sidebar-menu .sidebar-link[b-72ui1en82n],
.sidebar-menu li .sidebar-link[b-72ui1en82n],
.sidebar-link:visited[b-72ui1en82n] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 1.5rem;
    color: #fff !important;
    text-decoration: none;
    font-size: 2rem !important;
    font-family: 'Poppins', sans-serif !important;
    border-left: 4px solid transparent;
    transition: background 0.2s, border-color 0.2s;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    background: none;
    box-shadow: none;
}

    .sidebar-link.active[b-72ui1en82n], .sidebar-link:hover[b-72ui1en82n] {
        background: #0033b3;
        border-left: 4px solid #fff;
        color: #fff !important;
    }

.main-content[b-72ui1en82n] {
    margin-left: 250px;
    padding: 2rem 1rem;
    width: 100%;
    background: #f5f7fa;
    min-height: 100vh;
    transition: margin-left 0.3s;
}

    .main-content.no-margin[b-72ui1en82n] {
        margin-left: 0 !important;
    }

@media (max-width: 900px) {
    .sidebar[b-72ui1en82n] {
        transform: translateX(-100%);
        position: fixed;
        z-index: 2003;
    }

        .sidebar.open[b-72ui1en82n] {
            transform: translateX(0);
        }

        .sidebar .desktop-toggle[b-72ui1en82n] {
            display: none;
        }

    .mobile-toggle[b-72ui1en82n] {
        display: block;
    }

    .main-content[b-72ui1en82n] {
        margin-left: 0;
    }
}

@media (min-width: 901px) {
    .mobile-toggle[b-72ui1en82n] {
        display: none;
    }

    .sidebar .desktop-toggle[b-72ui1en82n] {
        display: block;
    }
}

.language-selector-container[b-72ui1en82n] {
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.language-label[b-72ui1en82n] {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.language-select[b-72ui1en82n] {
    width: 100%;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

    .language-select option[b-72ui1en82n] {
        background: #002D94;
        color: #fff;
    }

    .language-select:focus[b-72ui1en82n] {
        outline: none;
        border-color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.15);
    }

.language-popup-overlay[b-72ui1en82n] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.language-popup-content[b-72ui1en82n] {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.language-popup-header[b-72ui1en82n] {
    background: linear-gradient(135deg, #002D94 0%, #0033b3 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

    .language-popup-header h3[b-72ui1en82n] {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

.language-popup-body[b-72ui1en82n] {
    padding: 30px;
    text-align: center;
}

    .language-popup-body p[b-72ui1en82n] {
        color: #666;
        font-size: 1rem;
        margin-bottom: 20px;
    }

.language-options[b-72ui1en82n] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-option-btn[b-72ui1en82n] {
    padding: 14px 24px;
    background: #002D94;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

    .language-option-btn:hover[b-72ui1en82n] {
        background: #0033b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 45, 148, 0.3);
    }

    .language-option-btn:active[b-72ui1en82n] {
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .language-popup-content[b-72ui1en82n] {
        max-width: 90%;
    }

    .language-popup-body[b-72ui1en82n] {
        padding: 20px;
    }
}

/* Tutorial menu button styling is handled by existing .sidebar-menu-btn styles */
/* /Components/Pages/Home.razor.rz.scp.css */
.home-container[b-0v9anyazfa] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.home-header[b-0v9anyazfa] {
    text-align: center;
    margin-bottom: 3rem;
}

.home-header h2[b-0v9anyazfa] {
    font-size: 2rem;
    font-weight: 600;
    color: #002D94;
    margin-bottom: 0.5rem;
}

.home-header p[b-0v9anyazfa] {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.home-grid[b-0v9anyazfa] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.home-box[b-0v9anyazfa] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin-bottom:20px;
}

.home-box:hover[b-0v9anyazfa] {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 45, 148, 0.2);
    background: #f8f9ff;
}

.home-box-icon[b-0v9anyazfa] {
    /*margin-bottom: 1rem;*/
}

.home-box-icon .material-icons[b-0v9anyazfa] {
    font-size: 4rem;
    color: #002D94;
    transition: transform 0.3s ease;
}

.home-box:hover .home-box-icon .material-icons[b-0v9anyazfa] {
    transform: scale(1.1);
    color: #0033b3;
}

.home-box-title[b-0v9anyazfa] {
    font-size: 1.3rem;
    font-weight: 500;
    color: #002D94;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .home-grid[b-0v9anyazfa] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .home-box[b-0v9anyazfa] {
        padding: 1.5rem;
        min-height: 180px;
    }

    .home-box-icon .material-icons[b-0v9anyazfa] {
        font-size: 3rem;
    }

    .home-box-title[b-0v9anyazfa] {
        font-size: 1.1rem;
    }

    .home-header h2[b-0v9anyazfa] {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .home-grid[b-0v9anyazfa] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-container[b-0v9anyazfa] {
        padding: 1rem 0.5rem;
    }
}

/* /Components/Pages/RichiestaPermessi.razor.rz.scp.css */
.permission-request-page[b-46livgdhb8] {
    max-width: 100vw;
    margin: 0;
    padding: 8px;
    padding-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-top: 50px;
    width: 100%;
}

.permission-request-page *[b-46livgdhb8] {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.page-header-modern[b-46livgdhb8] {
    background: linear-gradient(135deg, #002D94 0%, #0033b3 100%);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 45, 148, 0.15);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.header-content[b-46livgdhb8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.header-text[b-46livgdhb8] {
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.header-text h2[b-46livgdhb8] {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.header-text p[b-46livgdhb8] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.loading-container[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-spinner[b-46livgdhb8] {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 45, 148, 0.1);
    border-top: 4px solid #002D94;
    border-radius: 50%;
    animation: spin-b-46livgdhb8 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-spinner-small[b-46livgdhb8] {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin-b-46livgdhb8 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin-b-46livgdhb8 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tabs - Material Design */
.tabs-container[b-46livgdhb8] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.tabs-header[b-46livgdhb8] {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: #fafafa;
}

.tab-btn[b-46livgdhb8] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 48px;
}

.tab-btn[b-46livgdhb8]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #002D94;
    transform: scaleX(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover[b-46livgdhb8] {
    background: rgba(0, 45, 148, 0.04);
    color: rgba(0, 0, 0, 0.87);
}

.tab-btn.active[b-46livgdhb8] {
    color: #002D94;
    background: white;
}

.tab-btn.active[b-46livgdhb8]::after {
    transform: scaleX(1);
}

.tab-btn .material-icons[b-46livgdhb8] {
    font-size: 20px;
}

/* Form Card - Material Design */
.form-card-modern[b-46livgdhb8] {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.form-content[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section-modern[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-label-modern[b-46livgdhb8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.87);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.form-label-modern .material-icons[b-46livgdhb8] {
    font-size: 20px;
    color: #002D94;
}

/* Material Design Input Groups */
.material-input-group[b-46livgdhb8] {
    position: relative;
    margin-bottom: 1.5rem;
    background: #fafafa;
    border-radius: 4px 4px 0 0;
    padding-top: 0.5rem;
}

.material-input[b-46livgdhb8] {
    width: 100%;
    padding: 1rem 0.75rem 0.5rem 0.75rem;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    background: transparent;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: rgba(0, 0, 0, 0.87);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.material-input-group:focus-within[b-46livgdhb8] {
    background: rgba(0, 45, 148, 0.04);
}

.material-input:focus[b-46livgdhb8] {
    border-bottom-color: #002D94;
    border-bottom-width: 2px;
    padding-bottom: calc(0.5rem - 1px);
}

.material-input:focus + .material-label[b-46livgdhb8],
.material-input:not(:placeholder-shown) + .material-label[b-46livgdhb8],
.material-input:not([value=""]) + .material-label[b-46livgdhb8] {
    transform: translateY(-1.25rem) scale(0.75);
    color: #002D94;
}

.material-label[b-46livgdhb8] {
    position: absolute;
    left: 0.75rem;
    top: 1rem;
    color: rgba(0, 0, 0, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left top;
    background: white;
    padding: 0 4px;
}

.material-underline[b-46livgdhb8] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #002D94;
    transform: scaleX(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.material-input:focus ~ .material-underline[b-46livgdhb8] {
    transform: scaleX(1);
}

/* Type Selector - Material Design Cards */
.type-selector-modern[b-46livgdhb8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.type-card[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: rgba(0, 0, 0, 0.87);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.type-card[b-46livgdhb8]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 45, 148, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.type-card:hover[b-46livgdhb8]::before {
    width: 300px;
    height: 300px;
}

.type-card:hover[b-46livgdhb8] {
    border-color: #002D94;
    box-shadow: 0 4px 12px rgba(0, 45, 148, 0.15);
    transform: translateY(-2px);
}

.type-card.active[b-46livgdhb8] {
    border-color: #002D94;
    background: linear-gradient(135deg, #002D94 0%, #0033b3 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 45, 148, 0.35);
    transform: translateY(-2px);
}

.type-card.active[b-46livgdhb8]::before {
    background: rgba(255, 255, 255, 0.1);
}

.type-card .material-icons[b-46livgdhb8] {
    font-size: 36px;
    position: relative;
    z-index: 1;
}

.type-card span:not(.material-icons)[b-46livgdhb8] {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
}

/* Date and Time Range */
.date-range-modern[b-46livgdhb8],
.time-range-modern[b-46livgdhb8] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: end;
}

.date-range-modern.single-date[b-46livgdhb8] {
    grid-template-columns: 1fr;
}

.date-range-modern .form-group[b-46livgdhb8],
.time-range-modern .form-group[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-range-modern .form-group label[b-46livgdhb8],
.time-range-modern .form-group label[b-46livgdhb8] {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.87);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.date-range-modern .form-control[b-46livgdhb8],
.time-range-modern .form-control[b-46livgdhb8] {
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: rgba(0, 0, 0, 0.87);
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.date-range-modern .form-control:focus[b-46livgdhb8],
.time-range-modern .form-control:focus[b-46livgdhb8] {
    outline: none;
    border-color: #002D94;
    box-shadow: 0 0 0 2px rgba(0, 45, 148, 0.1);
}

.date-separator[b-46livgdhb8],
.time-separator[b-46livgdhb8] {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    color: rgba(0, 0, 0, 0.54);
}

.date-separator .material-icons[b-46livgdhb8],
.time-separator .material-icons[b-46livgdhb8] {
    font-size: 24px;
}

/* Error Message - Material Design */
.error-message-modern[b-46livgdhb8] {
    background: #ffebee;
    border-left: 4px solid #f44336;
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #c62828;
    margin-bottom: 1rem;
}

.error-message-modern .material-icons[b-46livgdhb8] {
    color: #f44336;
    font-size: 24px;
}

.success-message-modern[b-46livgdhb8] {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: white;
    margin: 2rem;
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.3);
}

.success-message-modern .material-icons[b-46livgdhb8] {
    font-size: 48px;
    margin-bottom: 1rem;
}

.success-message-modern p[b-46livgdhb8] {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Form Actions - Material Design Button */
.form-actions-modern[b-46livgdhb8] {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    margin-top: 1rem;
}

.btn[b-46livgdhb8] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    min-width: 64px;
    min-height: 36px;
}

.btn[b-46livgdhb8]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover[b-46livgdhb8]::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern[b-46livgdhb8] {
    background: #002D94;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 45, 148, 0.2);
}

.btn-primary-modern:hover:not(:disabled)[b-46livgdhb8] {
    box-shadow: 0 4px 8px rgba(0, 45, 148, 0.3);
    transform: translateY(-1px);
}

.btn-primary-modern:active:not(:disabled)[b-46livgdhb8] {
    box-shadow: 0 1px 2px rgba(0, 45, 148, 0.2);
    transform: translateY(0);
}

.btn-primary-modern:disabled[b-46livgdhb8] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary[b-46livgdhb8] {
    background: white;
    color: #002D94;
    border: 1px solid rgba(0, 45, 148, 0.5);
}

.btn-secondary:hover[b-46livgdhb8] {
    background: rgba(0, 45, 148, 0.04);
}

.btn .material-icons[b-46livgdhb8] {
    font-size: 18px;
}

/* History Card - Material Design */
.history-card-modern[b-46livgdhb8] {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.history-header[b-46livgdhb8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.history-header h3[b-46livgdhb8] {
    color: rgba(0, 0, 0, 0.87);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

.filter-select[b-46livgdhb8] {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.87);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.filter-select:focus[b-46livgdhb8] {
    outline: none;
    border-color: #002D94;
    box-shadow: 0 0 0 2px rgba(0, 45, 148, 0.1);
}

.empty-state[b-46livgdhb8] {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(0, 0, 0, 0.54);
}

.empty-state .material-icons[b-46livgdhb8] {
    font-size: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.history-list[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.permission-card[b-46livgdhb8] {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.permission-card:hover[b-46livgdhb8] {
    border-color: #002D94;
    box-shadow: 0 4px 12px rgba(0, 45, 148, 0.15);
    transform: translateY(-2px);
}

.permission-header[b-46livgdhb8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.permission-type-badge[b-46livgdhb8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.875rem;
}

.type-permission[b-46livgdhb8] {
    background: #e3f2fd;
    color: #1976d2;
}

.type-illness[b-46livgdhb8] {
    background: #ffebee;
    color: #c62828;
}

.type-vacation[b-46livgdhb8] {
    background: #fff3e0;
    color: #e65100;
}

.permission-type-badge .material-icons[b-46livgdhb8] {
    font-size: 18px;
}

.permission-status[b-46livgdhb8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 16px;
}

.status-approved[b-46livgdhb8] {
    color: #2e7d32;
    background: #e8f5e9;
}

.status-rejected[b-46livgdhb8] {
    color: #c62828;
    background: #ffebee;
}

.status-pending[b-46livgdhb8] {
    color: #f57c00;
    background: #fff3e0;
}

.permission-status .material-icons[b-46livgdhb8] {
    font-size: 18px;
}

.permission-details[b-46livgdhb8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-item[b-46livgdhb8] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-item .material-icons[b-46livgdhb8] {
    color: rgba(0, 0, 0, 0.54);
    font-size: 20px;
    margin-top: 2px;
}

.detail-content[b-46livgdhb8] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-content label[b-46livgdhb8] {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.54);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content span[b-46livgdhb8] {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.87);
    font-weight: 400;
}

.pagination[b-46livgdhb8] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-pagination[b-46livgdhb8] {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(0, 0, 0, 0.54);
}

.btn-pagination:hover:not(:disabled)[b-46livgdhb8] {
    border-color: #002D94;
    color: #002D94;
    background: rgba(0, 45, 148, 0.04);
}

.btn-pagination:disabled[b-46livgdhb8] {
    opacity: 0.38;
    cursor: not-allowed;
}

.page-info[b-46livgdhb8] {
    font-weight: 400;
    color: rgba(0, 0, 0, 0.54);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .permission-request-page[b-46livgdhb8] {
        max-width: 1200px;
        margin: 0 auto;
        padding: 15px;
    }
    
    .page-header-modern[b-46livgdhb8] {
        padding: 18px;
    }
    
    .form-card-modern[b-46livgdhb8],
    .history-card-modern[b-46livgdhb8] {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .permission-request-page[b-46livgdhb8] {
        padding: 8px;
    }

    .page-header-modern[b-46livgdhb8] {
        padding: 12px;
    }
    
    .form-card-modern[b-46livgdhb8],
    .history-card-modern[b-46livgdhb8] {
        padding: 15px;
    }

    .header-text h2[b-46livgdhb8] {
        font-size: 1.3rem;
    }

    .type-selector-modern[b-46livgdhb8] {
        grid-template-columns: 1fr;
    }

    .date-range-modern[b-46livgdhb8],
    .time-range-modern[b-46livgdhb8] {
        grid-template-columns: 1fr;
    }

    .date-separator[b-46livgdhb8],
    .time-separator[b-46livgdhb8] {
        display: none;
    }

    .form-card-modern[b-46livgdhb8],
    .history-card-modern[b-46livgdhb8] {
        padding: 1.5rem;
    }

    .permission-header[b-46livgdhb8] {
        flex-direction: column;
        align-items: flex-start;
    }

    .permission-details[b-46livgdhb8] {
        grid-template-columns: 1fr;
    }

    .history-header[b-46livgdhb8] {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .tabs-header[b-46livgdhb8] {
        flex-direction: column;
    }

    .tab-btn[b-46livgdhb8] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        border-right: none;
    }

    .tab-btn.active[b-46livgdhb8]::after {
        display: none;
    }

    .tab-btn.active[b-46livgdhb8] {
        border-bottom: 2px solid #002D94;
    }
}
