body {
    font-family: 'Inter', sans-serif;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1920&auto=format&fit=crop') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Overlay to match the blue tint in the image */
    position: relative;
}

/* Overlay to darken background image */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 32, 68, 0.9), rgba(15, 32, 68, 0.8));
    z-index: -1;
}

/* --- Layout Containers --- */
.main-container {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-header {
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
}

.brand-header span {
    color: var(--signup-btn);
    /* Orange accent */
}

.brand-header a {
    text-decoration: none;
}

.forms-wrapper {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-glow);
    display: flex;
    overflow: hidden;
    position: relative;
}

/* --- Form Sections --- */
.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.form-section h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- Inputs --- */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--label-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.input-field {
    display: flex;
    align-items: center;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    padding: 0 15px;
    transition: border-color 0.3s;
}

.input-field:focus-within {
    border-color: #a0a0a0;
}

.input-field i {
    color: #666;
    margin-right: 12px;
    font-size: 1rem;
}

.input-field input {
    width: 100%;
    padding: 12px 0;
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-main);
    font-size: 0.95rem;
}

.input-field input::placeholder {
    color: #999;
}

/* --- Buttons --- */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(1px);
}

.btn-login {
    background: var(--login-btn-grad);
    border: 1px solid #0d326f;
}

.btn-signup {
    background: var(--signup-btn-grad);
    border: 1px solid #d45d00;
}

/* --- Links & Footer Text --- */
.forgot-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #3a6ab3;
    text-decoration: none;
    font-size: 0.9rem;
}

.switch-text {
    margin-top: auto;
    /* Push to bottom if height varies */
    padding-top: 30px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.switch-link {
    text-decoration: none;
    font-weight: 700;
}

.switch-link.orange-text {
    color: #e67e22;
    border-bottom: 1px solid #e67e22;
}

.switch-link.blue-text {
    color: #154696;
    text-decoration: underline;
}

/* --- Divider --- */
.vertical-divider {
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    margin: 40px 0;
    position: relative;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .forms-wrapper {
        flex-direction: column;
    }

    .vertical-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .form-section {
        padding: 30px 20px;
    }

    .brand-header h1 {
        font-size: 2rem;
    }
}