/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7f9;
    color: #333;
}

/* Container */
.split-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Image Side */
.image-side {
    flex: 1.2;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    min-height: 600px;
}

.image-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

/* Form Side */
.form-side {
    flex: 1;
    padding: 50px;
    background: #fff;
}

.form-side h2 {
    font-size: 2.2rem;
    color: #DC143C;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-side p.subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #DC143C;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

/* For inputs without icons if any */
.form-group input.no-icon,
.form-group select.no-icon {
    padding-left: 15px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #DC143C;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
}

/* File Input */
.form-group input[type="file"] {
    padding: 10px 10px 10px 45px;
    /* Added 45px padding-left to match other inputs */
    background: #f8f9fa;
    border: 2px dashed #ddd;
    line-height: 1.5;
}

/* Fix for specific browser file button overlap */
.form-group input[type="file"]::-webkit-file-upload-button {
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(135deg, #DC143C 0%, #a00d2b 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(220, 20, 60, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(220, 20, 60, 0.4);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .split-container {
        margin: 20px;
        flex-direction: column;
    }

    .image-side {
        min-height: 300px;
    }

    .form-side {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .form-side h2 {
        font-size: 1.8rem;
    }

    .form-group {
        margin-bottom: 15px;
    }
}