* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #c9b8a0 0%, #b8a68f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.left-section {
    flex: 1;
    color: #4a3f35;
}

.left-section h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #6b5d52;
}

.left-section h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.left-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #5a4d42;
    margin-bottom: 30px;
}

.image-container {
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid #8b7355;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.right-section {
    flex: 0 0 450px;
    background: #f5f1ed;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.logo svg {
    width: 28px;
    height: 28px;
}

.logo h2 {
    font-size: 24px;
    font-weight: 600;
    color: #3a3a3a;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 10px;
}

.form-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-height: 80px; /* Reserve space for error messages */
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 20px;
    min-height: 80px; /* Reserve space for error messages */
}

.error-message {
    color: #dc3545 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
    display: block !important;
    line-height: 1.4 !important;
    min-height: 18px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #3a3a3a;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4c4b0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    min-height: 44px; /* Ensure consistent height */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #8b7355;
}

input::placeholder {
    color: #b8b8b8;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: #3a3a3a;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #5a4a3a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
}

.submit-btn:hover {
    background: #4a3a2a;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #999;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #d4c4b0;
}

.divider span {
    padding: 0 15px;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #d4c4b0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
    margin-bottom: 20px;
}

.google-btn:hover {
    background: #f9f9f9;
}

.google-icon {
    width: 18px;
    height: 18px;
}

.signin-link {
    text-align: center;
    font-size: 14px;
    color: #6b6b6b;
}

.signin-link a {
    color: #3a3a3a;
    font-weight: 600;
    text-decoration: none;
}

.signin-link a:hover {
    text-decoration: underline;
}

@media (max-width: 968px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        text-align: center;
    }

    .left-section h1 {
        font-size: 36px;
    }

    .right-section {
        flex: 1;
        width: 100%;
        max-width: 450px;
    }
}
