/* Authentication Pages CSS - Register & Login */

.auth-split-section {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
}

.auth-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}


.auth-image-side {
    background: linear-gradient(135deg, rgba(4, 3, 61, 0.9) 0%, rgba(200, 155, 60, 0.8) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f0f0f0" width="1200" height="800"/></svg>') center/cover no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    min-height: 600px;
}

.auth-image-side h2 {
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.3;
}

.auth-image-side p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.auth-form-side {
    padding: 4rem 3rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 480px;
}

.auth-form-wrapper h3 {
    color: #04033D;
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-form-wrapper > p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Form Controls */
.form-label {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-custom {
    background-color: #f9f9fa;
    border: 1px solid #e8ebed;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control-custom::placeholder {
    color: #bbb;
}

.form-control-custom:focus {
    background-color: #ffffff;
    border-color: #C89B3C;
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
    outline: none;
}

.form-control-custom.is-invalid {
    border-color: #dc3545;
}

.form-control-custom.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* Form Errors */
.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Form Rows */
.form-row-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Submit Button */
.btn-auth-submit {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background-color: #04033D;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.btn-auth-submit:hover {
    background-color: #C89B3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 155, 60, 0.3);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

/* Social Buttons */
.social-btn {
    border: 1px solid #e0e0e0;
    background: white;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    background: #f4f4f4;
    border-color: #d0d0d0;
}

/* Divider */
.divider-custom {
    display: flex;
    align-items: center;
    text-align: center;
    color: #888;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

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

.divider-custom:not(:empty)::before {
    margin-right: 0.75rem;
}

.divider-custom:not(:empty)::after {
    margin-left: 0.75rem;
}

/* Links & Text */
.text-gold {
    color: #C89B3C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.text-gold:hover {
    color: #04033D;
}

/* Checkbox Styling */
.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.3rem;
    border: 1.5px solid #e8ebed;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f9f9fa;
}

.form-check-input:checked {
    background-color: #C89B3C;
    border-color: #C89B3C;
    box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.1);
}

.form-check-input:focus {
    border-color: #C89B3C;
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
}

.form-check-label {
    color: #666;
    font-size: 0.95rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

/* Success Alert */
.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        border-radius: 15px;
    }

    .auth-image-side {
        display: none;
    }

    .auth-form-side {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .auth-form-wrapper h3 {
        font-size: 1.5rem;
    }

    .form-row-group {
        grid-template-columns: 1fr;
    }

    .auth-split-section {
        min-height: auto;
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .auth-form-side {
        padding: 1.5rem 1rem;
    }

    .auth-form-wrapper {
        max-width: 100%;
    }

    .auth-form-wrapper h3 {
        font-size: 1.25rem;
    }

    .form-control-custom {
        font-size: 0.9rem;
        padding: 0.75rem 0.9rem;
    }

    .btn-auth-submit {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
}
