/* Modern Form Styles */
.form-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    padding: 1rem;
}

.form-container {
    width: 100%;
    max-width: 1000px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.form-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.form-side h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-side > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    padding-left: 3rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.input-group select {
    appearance: none;
    cursor: pointer;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #664343;
    font-size: 1.2rem;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #664343;
    box-shadow: 0 0 0 4px rgba(102, 67, 67, 0.1);
    outline: none;
}

.form-button {
    background: #664343;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-button:hover {
    background: #523535;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 67, 67, 0.2);
}

.form-text {
    text-align: center;
    margin-top: auto;
    color: var(--text-light);
}

.form-text a {
    color: #664343;
    text-decoration: none;
    font-weight: 500;
}

.form-text a:hover {
    color: #523535;
}

.image-side {
    position: relative;
    background: url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: #664343;
}

.image-side .overlay {
    position: absolute;
    inset: 0;
    background: #FFF0D1;
    opacity: 0.9;
}

.image-content {
    position: relative;
    z-index: 1;
}

.image-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #664343;
}

.image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #664343;
}

@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
        height: auto;
        max-width: 400px;
    }

    .image-side {
        display: none;
    }

    .form-side {
        padding: 2rem;
    }
}
