/* Sidebar secondary düzeltmeleri */
.sidebar-secondary {
    width: 200px;
    background-color: #2c3034;
    position: fixed;
    left: 180px;
    top: 56px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

    .sidebar-secondary.collapsed {
        left: -200px;
    }

/* Ana içerik alanı sidebar açık olduğunda */
.main-content.sidebar2-open {
    margin-left: 380px;
}

.footer-info.sidebar2-open {
    left: 380px;
}

/* Logo düzeltmesi */
.logo-image {
    height: 32px;
    width: auto;
    max-width: 120px;
}
/* ===========================
   GLOBAL STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bg-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("../../../Climbinn/assets/img/climbinnheader.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===========================
   APP CONTAINER
   =========================== */
.app-container {
    display: flex;
    position: relative;
    min-height: 100vh;
    padding-top: 56px;
}

/* ===========================
   WINDOW CONTROLS
   =========================== */
.window-controls {
    display: flex;
}

.window-btn {
    width: 46px;
    height: 32px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .window-btn:hover {
        background-color: #3a3a3a;
    }

    .window-btn.close-btn:hover {
        background-color: #e81123;
    }

/* ===========================
   SIDEBARS
   =========================== */
.sidebar-primary {
    width: 180px;
    background-color: #212529;
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    --nav-hover-bg: #2c3034;
    --submenu-bg: #1a1d20;
    --submenu-nested-bg: #131517;
}

.sidebar-bottom {
    margin-top: auto;
    padding-bottom: 10px;
}

.sidebar-primary.hidden {
    transform: translateX(-100%);
}

.sidebar-secondary {
    width: 200px;
    background-color: #2c3034;
    position: fixed;
    left: 180px;
    top: 56px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    --nav-hover-bg: #2c3034;
    --submenu-bg: #1a1d20;
    --submenu-nested-bg: #131517;
}

    .sidebar-secondary.collapsed {
        left: -200px;
    }

.sidebar-primary.hidden + .sidebar-secondary {
    left: -200px !important;
}

/* ===========================
   LOGO
   =========================== */
.logo-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin-left: -10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .logo-btn:hover {
        opacity: 0.8;
    }

.logo-image {
    height: 32px;
    width: auto;
}

/* ===========================
   NAVIGATION MENU
   =========================== */
.nav-menu {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.nav-section {
    margin-bottom: 2px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
}

    .nav-item:hover {
        background-color: var(--nav-hover-bg, #2c3034);
        color: #fff;
        border-left-color: #00d4ff;
    }

    .nav-item.active {
        background-color: var(--nav-hover-bg, #2c3034);
        color: #fff;
        border-left-color: #00d4ff;
    }

    .nav-item i {
        font-size: 1.1rem;
        min-width: 25px;
        margin-right: 8px;
    }

#proBtn {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #000;
    font-weight: bold;
    border-left-color: transparent !important;
}

    #proBtn:hover {
        background: linear-gradient(135deg, #ffa500 0%, #ffd700 100%);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

/* ===========================
   SUBMENU STYLES
   =========================== */
.submenu {
    background-color: var(--submenu-bg, #1a1d20);
    padding: 5px 0;
}

.submenu-item {
    padding: 10px 15px 10px 35px !important;
    font-size: 0.85rem !important;
}

.submenu-nested {
    background-color: var(--submenu-nested-bg, #131517);
    padding: 5px 0;
}

    .submenu-nested .submenu-item {
        padding: 8px 15px 8px 50px !important;
        font-size: 0.8rem !important;
    }

.nav-item .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* ===========================
   TOGGLE SIDEBAR BUTTON
   =========================== */
.toggle-sidebar-btn {
    background: transparent;
    border: none;
    color: #b8b8b8;
    cursor: pointer;
    padding: 0;
    margin-right: 15px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .toggle-sidebar-btn:hover {
        color: #00d4ff;
    }

    .toggle-sidebar-btn i {
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .toggle-sidebar-btn.rotated i {
        transform: rotate(180deg);
    }

/* ===========================
   MAIN CONTENT
   =========================== */
.main-content {
    margin-left: 180px;
    height: calc(100vh - 56px);
    background-color: #1a1a1a;
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 0;
    overflow: hidden;
    position: relative;
}

    .main-content.sidebar2-open {
        margin-left: 380px;
    }

    .main-content.sidebars-hidden {
        margin-left: 0;
    }

/* ===========================
   TOP NAVBAR
   =========================== */
.navbar {
    background-color: #212529 !important;
    padding: 12px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 56px;
    margin-left: 0 !important;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: bold;
}

.nav-icon-btn {
    background: transparent;
    border: none;
    color: #b8b8b8;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

    .nav-icon-btn:hover {
        color: #00d4ff;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }

/* ===========================
   SEARCH CONTAINER
   =========================== */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    position: absolute;
    right: 46px;
    width: 0;
    padding: 8px 12px;
    background-color: #2c3034;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    outline: none;
}

    .search-input::placeholder {
        color: #b8b8b8;
    }

    .search-input:focus {
        border-color: #00d4ff;
    }

.search-container.active .search-input {
    width: 250px;
    opacity: 1;
    visibility: visible;
}

.search-container #searchBtn {
    z-index: 1;
}

/* ===========================
   DROPDOWN MENU
   =========================== */
.dropdown-menu {
    background-color: #2c3034;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.dropdown-item {
    color: #b8b8b8;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background-color: var(--bs-dropdown-link-hover-bg, #3a3a3a);
        color: #00d4ff;
    }

.dropdown-divider {
    border-color: #3a3a3a;
}

/* ===========================
   CONTENT AREA
   =========================== */
.content-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 30px;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border: 1px solid #3a3a3a;
}

/* ===========================
   FOOTER INFO
   =========================== */
.footer-info {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 180px;
    background-color: #212529;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #3a3a3a;
    z-index: 10001;
    transition: left 0.3s ease;
    font-size: 0.9rem;
    color: #b8b8b8;
    height: 40px;
}

    .footer-info.sidebar2-open {
        left: 380px;
    }

    .footer-info.sidebars-hidden {
        left: 0;
    }

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===========================
   BATTERY INFO TOOLTIP
   =========================== */
.battery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .battery-info:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.battery-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background-color: #2c3034;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 12px 16px;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10002;
}

.battery-info:hover .battery-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.battery-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: #2c3034;
}

.tooltip-content {
    color: #fff;
    font-size: 0.85rem;
}

    .tooltip-content strong {
        color: #00d4ff;
        font-size: 0.9rem;
    }

    .tooltip-content > div {
        margin-top: 4px;
    }

/* ===========================
   CARDS
   =========================== */
.welcome-card {
    background: linear-gradient(135deg, #2c3034 0%, #212529 100%);
    border: 1px solid #3a3a3a;
}

    .welcome-card h2 {
        color: #00d4ff;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    }

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .card-title i {
        margin-right: 8px;
    }

.card h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

/* ===========================
   SCROLLBAR
   =========================== */
.nav-menu::-webkit-scrollbar {
    width: 6px;
}

.nav-menu::-webkit-scrollbar-track {
    background: #212529;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 3px;
}

    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* ===========================
   MOBILE/RESPONSIVE
   =========================== */
.hamburger-btn {
    display: none;
}

.sidebar-overlay {
    display: none;
}

.sidebar-back-btn {
    display: none;
}

/* ===========================
   ANIMATIONS
   =========================== */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===========================
   SWEETALERT2
   =========================== */
.swal2-container {
    z-index: 20000 !important;
}

.swal2-popup .form-control:focus,
.swal2-popup .form-select:focus {
    border-color: #80bdff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media screen and (max-width: 1024px) {
    .hamburger-btn {
        display: block;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 8px;
        margin-right: 10px;
    }

    .sidebar-primary,
    .sidebar-secondary {
        position: fixed;
        left: -100%;
        top: 56px;
        bottom: 0;
        width: 250px;
        z-index: 10000;
        transition: left 0.3s ease;
    }

        .sidebar-primary.show {
            left: 0;
        }

        .sidebar-secondary.show {
            left: 0;
        }

    .sidebar-overlay {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 9999;
        display: none;
    }

        .sidebar-overlay.show {
            display: block;
        }

    .main-content {
        margin-left: 0 !important;
    }

    .footer-info {
        left: 0 !important;
    }

    .sidebar-back-btn {
        display: flex;
        align-items: center;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .sidebar-back-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .sidebar-back-btn i {
            margin-right: 10px;
        }
}

/* ===========================
   LOGIN PAGE STYLES
   =========================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #00d4ff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15), 0 5px 15px rgba(0, 0, 0, 0.4);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    animation: loginSlideIn 0.6s ease-out;
}

.login-header {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .login-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: headerShimmer 3s ease-in-out infinite;
    }

.login-logo {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.login-title {
    color: white;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.login-subtitle {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.login-form {
    padding: 40px 30px 30px 30px;
}

    .login-form .form-control {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(0, 212, 255, 0.3);
        border-radius: 12px;
        color: white;
        padding: 15px 18px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .login-form .form-control:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: #00d4ff;
            box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
            color: white;
        }

        .login-form .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

    .login-form .form-label {
        color: #00d4ff;
        font-weight: 500;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

.login-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .login-btn:hover {
        background: linear-gradient(135deg, #0099cc 0%, #007acc 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    }

    .login-btn:active {
        transform: translateY(0);
    }

    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .login-btn:hover::before {
        left: 100%;
    }

.login-form .form-check-input:checked {
    background-color: #00d4ff;
    border-color: #00d4ff;
}

.login-form .form-check-label {
    color: #b8b8b8;
    font-size: 0.9rem;
}

.forgot-password {
    color: #00d4ff !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .forgot-password:hover {
        color: #0099cc !important;
        text-decoration: underline;
    }

.register {
    color: #28a745 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid #28a745;
    border-radius: 10px;
    background: rgba(40, 167, 69, 0.1);
    margin-top: 15px;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

    .register:hover {
        color: white !important;
        text-decoration: none;
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
        border-color: #20c997;
    }

    .register:active {
        transform: translateY(0);
    }

    .register::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .register:hover::before {
        left: 100%;
    }

    .register i {
        transition: transform 0.3s ease;
    }

    .register:hover i {
        transform: scale(1.1);
    }

/* ===========================
   LOGIN ANIMATIONS
   =========================== */
@keyframes loginSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes headerShimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===========================
   LOGIN RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
    }

    .login-card {
        max-width: 100%;
        margin: 0 10px;
    }

    .login-form {
        padding: 30px 20px;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-logo {
        font-size: 3.5rem;
    }
}

/* ===========================
   REGISTER PAGE STYLES
   =========================== */
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.register-card {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #28a745;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.15), 0 5px 15px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    width: 100%;
    overflow: hidden;
    animation: registerSlideIn 0.6s ease-out;
}

.register-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 25px 25px 20px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .register-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: registerShimmer 3s ease-in-out infinite;
    }

.register-logo {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.register-title {
    color: white;
    font-weight: 600;
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.register-subtitle {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.register-form {
    padding: 25px 25px 20px 25px;
}

    .register-form .mb-3 {
        margin-bottom: 1rem !important;
    }

    .register-form .mb-4 {
        margin-bottom: 1.2rem !important;
    }

    .register-form .form-control {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(40, 167, 69, 0.3);
        border-radius: 10px;
        color: white;
        padding: 10px 14px;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        height: auto;
    }

        .register-form .form-control:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: #28a745;
            box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
            color: white;
        }

        .register-form .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.8rem;
        }

    .register-form .form-label {
        color: #28a745;
        font-weight: 500;
        margin-bottom: 4px;
        font-size: 0.8rem;
    }

.register-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .register-btn:hover {
        background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    }

    .register-btn:active {
        transform: translateY(0);
    }

    .register-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .register-btn:hover::before {
        left: 100%;
    }

.register-form .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.register-form .form-check-label {
    color: #b8b8b8;
    font-size: 0.8rem;
}

.login-link {
    color: #28a745 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

    .login-link:hover {
        color: #20c997 !important;
        text-decoration: underline;
    }

/* ===========================
   REGISTER ANIMATIONS
   =========================== */
@keyframes registerSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes registerShimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===========================
   REGISTER RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .register-container {
        padding: 10px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .register-card {
        max-width: 100%;
        margin: 0;
    }

    .register-form {
        padding: 20px 20px 15px 20px;
    }

    .register-header {
        padding: 20px 20px 15px 20px;
    }

    .register-logo {
        font-size: 2.8rem;
    }
}

@media (max-height: 700px) {
    .register-container {
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .register-header {
        padding: 20px 25px 15px 25px;
    }

    .register-form {
        padding: 20px 25px 15px 25px;
    }

    .register-logo {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
}

/* ===========================
   FORGOT PASSWORD PAGE STYLES
   =========================== */
.forgot-password-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.forgot-password-card {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid #dc3545;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.15), 0 5px 15px rgba(0, 0, 0, 0.4);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    animation: forgotPasswordSlideIn 0.6s ease-out;
}

.forgot-password-header {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .forgot-password-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: forgotPasswordShimmer 3s ease-in-out infinite;
    }

.forgot-password-logo {
    font-size: 4rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: logoFloat 2s ease-in-out infinite;
}

.forgot-password-title {
    color: white;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.forgot-password-subtitle {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.forgot-password-form {
    padding: 35px 25px 25px 25px;
}

    .forgot-password-form .form-control {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(220, 53, 69, 0.3);
        border-radius: 12px;
        color: white;
        padding: 14px 16px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .forgot-password-form .form-control:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: #dc3545;
            box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
            color: white;
        }

        .forgot-password-form .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

    .forgot-password-form .form-label {
        color: #dc3545;
        font-weight: 500;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

.forgot-password-btn {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
}

    .forgot-password-btn:hover {
        background: linear-gradient(135deg, #c82333 0%, #e66a00 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
        color: white;
    }

    .forgot-password-btn:active {
        transform: translateY(0);
    }

    .forgot-password-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .forgot-password-btn:hover::before {
        left: 100%;
    }

.back-to-login {
    color: #dc3545 !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .back-to-login:hover {
        color: #fd7e14 !important;
        text-decoration: underline;
        transform: translateX(-3px);
    }

    .back-to-login i {
        transition: transform 0.3s ease;
    }

    .back-to-login:hover i {
        transform: translateX(-3px);
    }

/* ===========================
   FORGOT PASSWORD ANIMATIONS
   =========================== */
@keyframes forgotPasswordSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes forgotPasswordShimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ===========================
   FORGOT PASSWORD RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .forgot-password-container {
        padding: 15px;
    }

    .forgot-password-card {
        max-width: 100%;
        margin: 0 10px;
    }

    .forgot-password-form {
        padding: 25px 20px;
    }

    .forgot-password-header {
        padding: 25px 20px;
    }

    .forgot-password-logo {
        font-size: 3.2rem;
    }

    .forgot-password-title {
        font-size: 1.3rem;
    }
}

@media (max-height: 600px) {
    .forgot-password-container {
        align-items: flex-start;
        padding-top: 20px;
    }

    .forgot-password-header {
        padding: 25px 25px 20px 25px;
    }

    .forgot-password-form {
        padding: 25px 25px 20px 25px;
    }

    .forgot-password-logo {
        font-size: 3rem;
        margin-bottom: 10px;
    }
}
