 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }   
        img{
            border-radius: 75%;
        }
      
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.918) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            display: flex;
            width: 90%;
            max-width: 1200px;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .left-panel {
            flex: 1;
            background-color:#8b1a28;
            color: white;
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .logo {
            width: 200px;
            height: 200px;
            background-color:#8b1a28;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .left-panel h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .left-panel p {
            font-size: 1.1rem;
            line-height: 1.6;
            opacity: 0.95;
            max-width: 400px;
        }

        .right-panel {
            flex: 1;
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .auth-header {
            margin-bottom: 40px;
        }

        .auth-header h2 {
            font-size: 2rem;
            color: #2d3748;
            margin-bottom: 10px;
        }

        .auth-header p {
            color: #718096;
            font-size: 0.95rem;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #4a5568;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .input-wrapper {
            position: relative;
        }

        .form-group input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;  
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s;
            outline: none;
        }

        .input-wrapper input {
            padding-right: 48px;
        }

        .form-group input:focus {
            border-color: #C85A00;
            box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
        }

        .toggle-password {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px;
            border: 0;
            background: transparent;
            cursor: pointer;
            color: #a0aec0;
            transition: color 0.3s;
        }

        .toggle-password svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .toggle-password .eye-closed,
        .toggle-password[aria-pressed="true"] .eye-open {
            display: none;
        }

        .toggle-password[aria-pressed="true"] .eye-closed {
            display: block;
        }

        .toggle-password:hover {
            color: #059669;
        }

        .forgot-password {
            text-align: right;
            margin-top: -15px;
            margin-bottom: 25px;
        }

        .forgot-password a {
            color: black;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .forgot-password a:hover {
            color:#C85A00;
        }

        .btn {
            width: 100%;
            padding: 16px;
            background:#8b1a28;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow:  #C85A00;
        }

        .btn:active {
            transform: translateY(0);
        }

        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #e2e8f0;
        }

        .divider span {
            background: white;
            padding: 0 15px;
            position: relative;
            color: #a0aec0;
            font-size: 0.9rem;
        }

        .switch-form {
            text-align: center;
            color: #718096;
            font-size: 0.95rem;
        }

        .switch-form a {
            color:  black;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s;
        }

        .switch-form a:hover {
            color:  #C85A00;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-right: 10px;
            cursor: pointer;
            accent-color: #C85A00;
        }

        .checkbox-group label {
            color: #718096;
            font-size: 0.9rem;
            cursor: pointer;
        }

        .hidden {
            display: none;
        }

        @media (max-width: 968px) {
            .container {
                flex-direction: column;
            }

            .left-panel {
                padding: 40px 30px;
            }

            .right-panel {
                padding: 40px 30px;
            }

            .left-panel h1 {
                font-size: 2rem;
            }
        }
        .back-button {
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #333;
}

.back-link .arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.back-link:hover .arrow {
    transform: translateX(-3px);
}
/* Error and alert styles */
.alert {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.alert-error {
    background: #fff5f5;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background: #f0fff4;
    color: #065f46;
    border: 1px solid #bbf7d0;
}
.error-message {
    color: #b91c1c;
    font-size: 0.9rem;
    margin-top: 8px;
}
.form-group input.error {
    border-color: #f87171;
}