﻿
:root {
    --primary-color: #1E90FF;
    --secondary-color: #40C4FF;
    --content-primary: #FF6F61;
    --content-secondary: #FFB88C;
    --bg-primary: 0 4px 15px rgba(30, 144, 255, 0.3);
    --bg-content: 0 4px 15px rgba(255, 111, 97, 0.3);
    --deep-sky-blue: #87CEFA;
    --steel-blue: #4682B4;
    --navy-blue: #104E8B;
    --cornflower-blue: #6495ED;
    --aqua-marine: #B0E2FF;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: none;
}

.content-section {
    padding: 1rem;
    position: relative;
    min-height: 350px; /* Ensure enough height for content */
}

.content-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 238, 0.95));
    border-radius: 9px;
    box-shadow: var(--bg-content), 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    width: 100%;
    height:auto !important;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease-in-out, z-index 0s linear 0.6s;
}

    .content-card.active {
        opacity: 1;
        z-index: 2;
        transition: opacity 0.6s ease-in-out;
    }

    .content-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(90deg, var(--content-primary), var(--content-secondary));
        border-radius: 0 0 15px 15px;
    }

    .content-card h3 {
        color: var(--content-primary);
        margin-bottom: 1.5rem;
        font-weight: 700;
        font-size: 1.8rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .content-card p {
        color: #333;
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .content-card ul {
        list-style: none;
        padding: 0;
        margin-bottom: 1.5rem;
    }

        .content-card ul li {
            color: #444;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            position: relative;
            padding-left: 2rem;
        }

            .content-card ul li::before {
                content: '➤';
                color: var(--content-secondary);
                position: absolute;
                left: 0;
                font-size: 1.2rem;
            }

.content-highlight {
    background: rgba(255, 111, 97, 0.1);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--content-primary);
    text-align: center;
    transition: transform 0.3s ease;
}

    .content-highlight:hover {
        transform: scale(1.05);
    }

    .content-highlight span {
        font-weight: 600;
    }

.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: var(--bg-primary), 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 360px;
}

    .login-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

    .login-card h2 {
        color: var(--navy-blue);
        text-align: center;
        margin-bottom: 1.5rem;
        font-weight: 600;
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

.form-control {
    border: 1px solid var(--aqua-marine);
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(30, 144, 255, 0.4);
        outline: none;
        background: #fff;
    }

.form-label {
    color: var(--steel-blue);
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    padding: 0.6rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(30, 144, 255, 0.4);
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-primary:hover::after {
        width: 100%;
        height: 300px;
    }

.forgot-password {
    color: var(--cornflower-blue);
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    text-align: right;
    margin-top: 0.75rem;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: var(--primary-color);
        text-decoration: underline;
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--steel-blue);
    font-size: 0.85rem;
}

.password-field {
    position: relative;
}

@media (max-width: 992px) {
    .content-section, .login-section {
        padding: 1rem;
    }

    .content-card, .login-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        margin-bottom: 1rem;
    }

    .content-card h3, .login-card h2 {
        font-size: 1.5rem;
    }

    .content-card p, .content-card ul li {
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .content-card {
        position: relative !important;
        opacity: 1 !important;
        z-index: auto !important;
        transition: none !important;
        margin-bottom: 2rem;
    }

        .content-card.active {
            opacity: 1;
            z-index: auto;
        }

    .login-section {
        flex-direction: column;
    }

    .login-card {
        margin-top: 1rem;
    }
}


