/* ===============================
   Global Styles
================================= */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3)),
                url("https://images.pexels.com/photos/1181341/pexels-photo-1181341.jpeg?auto=compress&cs=tinysrgb&w=1600") 
                no-repeat center center/cover;
    color: #fff;
}

.overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

/* ===============================
   Form Card
================================= */
.form-card {
    display: flex;
    flex-direction: row;
    width: 850px;      
    min-height: 420px;     
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Left Column: Logo & Branding */
.left-column {
    flex: 1;
    background: rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
}

.left-column .logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    object-position: center;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.left-column .logo:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.left-column h2 {
    color: #f5c542;
    font-size: 1.8em;
    margin: 10px 0;
}

.left-column p {
    color: #ddd;
    font-size: 0.95em;
}

/* Right Column: Form */
.right-column {
    flex: 1.5;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Form Rows & Groups */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.9em;
    margin-bottom: 5px;
}

input, select {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 0.95em;
    background: rgba(255,255,255,0.9);
    color: #333;
    transition: 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    box-shadow: 0 0 5px #f5c542;
}

/* Button */
.btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    background: linear-gradient(90deg,#f5c542,#ffda6b);
    color: #243b6b;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s ease;
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* Already Registered Link */
.switch-form-container {
    margin-top: 15px;
    text-align: center;
}

.switch-form a {
    color: #f5c542;
    text-decoration: underline;
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85em;
    color: #ccc;
}

/* ===============================
   Responsive Layout
================================= */
@media (max-width: 768px) {
    .form-card {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .left-column {
        padding: 20px;
        flex: none;
    }

    .left-column .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }

    .right-column {
        padding: 20px;
        justify-content: flex-start;
    }

    .form-row {
        flex-direction: column;
    }

    .footer {
        font-size: 0.8em;
        margin-top: 20px;
    }
}
