/* assets/css/style.css */

/* Layout & Sidebar */
body {
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
    z-index: 1000;
}

.sidebar.collapsed {
    margin-left: -250px;
}

.main-content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

.nav-link {
    color: var(--bs-body-color);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--bs-primary);
    color: white !important;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Utilities */
.hidden-arrow::after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        margin-left: -250px;
    }
    
    .sidebar.active {
        margin-left: 0;
    }
}

/* Custom Auth Glassmorphism */
.auth-bg {
    background: linear-gradient(-45deg, #f0f4f8, #d9e2ec, #bcccdc, #9fb3c8);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Shapes */
.auth-bg::before, .auth-bg::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    animation: floatShape 10s infinite alternate;
}
.auth-bg::before {
    top: -100px;
    left: -100px;
}
.auth-bg::after {
    bottom: -100px;
    right: -100px;
    animation-direction: alternate-reverse;
}

@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glass-input {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(5px);
}
.glass-input:focus {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Illustration Side */
.auth-illustration {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 202, 240, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-illustration i {
    font-size: 8rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(13, 110, 253, 0.2);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Password Strength */
.password-strength-meter {
    height: 5px;
    background-color: #e9ecef;
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}
.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s, background-color 0.3s;
}

/* Toast */
.toast-container {
    z-index: 1056;
}

