/* ==========================================
   Application Page Styles
========================================== */

/* Header Secondary */
.header-secondary {
    background: #00b5ad;
    border-bottom: 3px solid #00b5ad;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-secondary .logo {
    max-width: 180px;
}

.header-nav a {
    color: #00b5ad;
    border-color: #00b5ad;
    background: #fff;
    transition: all 0.3s ease;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav a:active {
    background-color: #00b5ad !important;
    color: white;
    border-color: #fff !important;
}

/* Page Title Section */
.page-title-section {
    background: linear-gradient(135deg, #00d4cc 0%, #00b5ad 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Form Section */
.form-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-notice {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.required-badge {
    display: inline-block;
    color: #fc4530;
    font-weight: 700;
    font-size: 14px;
    margin-left: 5px;
}

/* Form Blocks */
.form-block {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: block;
    font-size: 1rem;
}

.form-control {
    border: 1px solid #00b5ad;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #00b5ad;
    box-shadow: 0 0 0 0.2rem rgba(0, 181, 173, 0.25);
}

.form-note {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Postal Code Group */
.postal-code-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.postal-input {
    width: 80px;
}

/* Phone Group */
.phone-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input {
    width: 100px;
}

/* Room Number */
.room-number-input {
    max-width: 200px;
}

/* Gender Group */
.gender-group {
    display: flex;
    gap: 0;
}

.gender-option {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.gender-option input[type="radio"] {
    display: none;
}

.gender-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #00b5ad;
    background: #f1e7dd;
    color: #555;
    text-align: center;
    height: 3.5em;
    transition: all 0.3s ease;
}

.gender-option:first-child .gender-label {
    border-radius: 5px 0 0 5px;
}

.gender-option:last-child .gender-label {
    border-radius: 0 5px 5px 0;
    border-left: none;
}

.gender-label i {
    margin-right: 10px;
    font-size: 1.5em;
    color: #555;
}

.gender-option input[type="radio"]:checked + .gender-label {
    background: #00b5ad;
    color: white;
}

.gender-option input[type="radio"]:checked + .gender-label i {
    color: white;
}

.gender-option input[type="radio"]:checked + .gender-label i::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Form Check */
.form-check {
    padding-left: 20px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-color: #00b5ad;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #00b5ad;
    border-color: #00b5ad;
}

.form-check-label {
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit .btn {
    min-width: 300px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    background: #00b5ad;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.form-submit .btn:hover {
    background: #00a99d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 181, 173, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }

    .form-wrapper {
        padding: 20px;
    }

    .form-block {
        padding: 20px;
    }

    .postal-code-group,
    .phone-group {
        flex-wrap: wrap;
    }

    .form-submit .btn {
        min-width: 100%;
    }

    .gender-group {
        flex-direction: column;
    }

    .gender-option:first-child .gender-label {
        border-radius: 5px 5px 0 0;
    }

    .gender-option:last-child .gender-label {
        border-radius: 0 0 5px 5px;
        border-left: 1px solid #00b5ad;
        border-top: none;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* ==========================================
   Thanks Page Styles
========================================== */
.thanks-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

.thanks-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00b5ad;
    margin-bottom: 40px;
}

.thanks-message {
    margin-bottom: 40px;
}

.thanks-message .lead {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.thanks-message p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.thanks-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: left;
}

.thanks-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00b5ad;
    margin-bottom: 20px;
    text-align: center;
}

.thanks-steps {
    padding-left: 20px;
    margin-bottom: 0;
}

.thanks-steps li {
    padding: 10px 0;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

.thanks-contact {
    background: linear-gradient(135deg, #00d4cc 0%, #00b5ad 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.thanks-contact h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-number {
    font-size: 2rem;
    font-weight: 900;
    margin: 20px 0;
}

.contact-hours {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.thanks-buttons {
    margin-top: 40px;
}

.thanks-buttons .btn {
    min-width: 300px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    background: #00b5ad;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.thanks-buttons .btn:hover {
    background: #00a99d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 181, 173, 0.3);
}

@media (max-width: 767px) {
    .thanks-wrapper {
        padding: 40px 20px;
    }

    .thanks-title {
        font-size: 2rem;
    }

    .thanks-message .lead {
        font-size: 1.1rem;
    }

    .thanks-info {
        padding: 20px;
    }

    .thanks-buttons .btn {
        min-width: 100%;
    }

    .contact-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .thanks-title {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Confirm Page Styles
========================================== */
.confirm-content {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
}

.confirm-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.confirm-row:last-child {
    border-bottom: none;
}

/* Confirmation Display */
.confirm-block {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.confirm-label {
    min-width: 250px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
    padding-right: 20px;
}

.confirm-value {
    flex: 1;
    color: #555;
    word-break: break-all;
}

.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.form-buttons .btn {
    min-width: 200px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.confirm-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.confirm-buttons .btn {
    min-width: 200px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.confirm-buttons .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.confirm-buttons .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

.confirm-buttons .btn-primary {
    background: #00b5ad;
    border: none;
}

.confirm-buttons .btn-primary:hover {
    background: #00a99d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 181, 173, 0.3);
}

@media (max-width: 767px) {
    .confirm-block {
        flex-direction: column;
        gap: 10px;
    }
    
    .confirm-label {
        min-width: auto;
        padding-right: 0;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .form-buttons .btn {
        width: 100%;
        min-width: auto;
    }
    
    .confirm-row {
        flex-direction: column;
    }

    .confirm-label {
        width: 100%;
        margin-bottom: 10px;
        padding-right: 0;
    }

    .confirm-buttons {
        flex-direction: column;
    }

    .confirm-buttons .btn {
        min-width: 100%;
    }
}

