/* -------------------------------------------------------------------------- */
/* Register Page CSS                                                          */
/* -------------------------------------------------------------------------- */

.page-register {
    background-color: #FFFDFB; /* Light cream */
}

/* 1. Hero Section */
.register-hero {
    padding: 10rem 0 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 235, 240, 0.95) 100%), url('/public/assets/images/background design 7.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1;
}

.register-hero .container {
    position: relative;
    z-index: 2;
}

.register-hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-secondary); /* Gold */
}

.register-hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.register-hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Form Section */
.register-form-section {
    padding: 3rem 0;
    position: relative;
    background-image: url('/public/assets/images/home page section 3 background.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.register-form-container {
    background: #FFFFFF;
    border-radius: var(--radius-card);
    padding: 2rem 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(122, 18, 56, 0.35);
    position: relative;
    z-index: 10;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin: 1.25rem 0 0.75rem 0;
    font-weight: 600;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-section-title svg {
    stroke-width: 1.5;
}

.form-divider {
    height: 1px;
    background-color: #EEEEEE;
    margin-bottom: 0.75rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-grid-full {
    grid-column: 1 / -1;
}

/* Form Inputs */
.form-group {
    position: relative;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(122, 18, 56, 0.15);
    border-radius: 8px;
    background-color: #FAFAFA;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(122, 18, 56, 0.1);
    background-color: #FFFFFF;
}

.form-control::placeholder {
    color: #999999;
}

/* Specific styling for Date of Birth to match the tiny label */
.form-group-dob {
    position: relative;
}

.form-label-tiny {
    position: absolute;
    top: 4px;
    left: 14px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control-dob {
    padding-top: 18px;
    padding-bottom: 2px;
}

textarea.form-control {
    min-height: 60px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A1238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* File Upload Zone */
.file-upload-wrapper {
    border: 2px dashed #E0E0E0;
    border-radius: 8px;
    padding: 1rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.file-upload-wrapper:hover {
    border-color: var(--color-primary);
    background-color: rgba(122, 18, 56, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.file-upload-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: #999999;
}

/* Submit Button */
.btn-submit-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 2rem;
    border-radius: 8px;
}

/* 3. Features Section */
.trust-section {
    background: linear-gradient(180deg, rgba(253, 240, 244, 0.90) 0%, rgba(255, 255, 255, 0.95) 100%), url('/public/assets/images/background design 4.jpg') center/cover;
    padding: 5rem 0;
    border-top: 1px solid rgba(200, 155, 95, 0.3);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-card {
    background: #FFFFFF;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(122, 18, 56, 0.35);
    box-shadow: 0 10px 30px rgba(122, 18, 56, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(122, 18, 56, 0.1);
    border-color: rgba(122, 18, 56, 0.65);
}

.trust-icon {
    display: flex;
    justify-content: center;
    color: var(--color-secondary); /* Gold */
    margin-bottom: 1.5rem;
}

.trust-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.trust-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.trust-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .register-form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}