:root {
    --sidebar-width: 280px;
}

.identity-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-light, #f8f9fa);
}

.identity-container {
    width: 100%;
    max-width: 440px;
    padding: 1rem;
}

.login-page {
    width: 100%;
}

.login-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 48px;
    height: 48px;
    color: var(--bs-primary, #0d6efd);
    margin-bottom: 1rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.95rem;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 1000;
    border-right: 1px solid var(--bs-border-color);
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 20px;
    min-height: calc(100vh - 60px);
}

.footer-custom {
    margin-left: var(--sidebar-width);
}

.btn-toggle-nav a {
    display: inline-flex;
    padding: 6px 16px;
    text-decoration: none;
    border-radius: 4px;
}

.bi-chevron-down {
    transition: transform 0.2s;
}

[data-bs-toggle="collapse"][aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content,
    .footer-custom {
        margin-left: 0;
    }
}
