/* ===== AMENDED QUERY FORM STYLING ===== */
.query-banner-wrapper {
    text-align: center;
    margin: 20px 0 30px;
    position: relative;
}
.query-page-heading {
    font-size: 48px;
    font-weight: 800;
    color: #0c3052;
    display: inline-block;
    padding: 15px 40px;
    margin: 0;
    position: relative;
    letter-spacing: -1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left: 5px solid #CFA03E;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 30px -10px rgba(13, 38, 59, 0.2);
}
.query-page-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1d66a8, #CFA03E);
    border-radius: 3px;
}
.query-form-wrapper {
    margin: 0 auto;
    padding: 0;
}
.query-form-header {
    text-align: center;
    margin-bottom: 30px;
}
.query-form-heading {
    font-size: 32px;
    font-weight: 700;
    color: #0c3052;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}
.query-form-subheading {
    color: #64748b;
    font-size: 14px;
    font-style: italic;
}
.query-field-wrapper {
    margin-bottom: 25px;
    position: relative;
}
.query-input-container {
    display: flex;
    align-items: stretch;
    background: #f8fafd;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 60px;
    overflow: hidden;
}
.query-textarea-container {
    height: auto;
    min-height: 150px;
}
.query-input-container:hover {
    border-color: #1d66a8;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 102, 168, 0.05);
}
.query-input-container:focus-within {
    border-color: #CFA03E;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}
.query-icon {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
    border-right: 2px solid #e2e8f0;
    color: #1d66a8;
    font-size: 20px;
    transition: all 0.3s ease;
}
.query-textarea-icon {
    align-items: flex-start;
    padding-top: 25px;
}
.query-input-container:focus-within .query-icon {
    color: #CFA03E;
    border-right-color: #CFA03E;
}
.query-field-content {
    flex: 1;
    position: relative;
    height: 100%;
}
.query-input,
.query-select {
    width: 100%;
    height: 100%;
    padding: 15px 15px 6px 15px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #0c3052;
    font-weight: 500;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.query-textarea {
    width: 100%;
    height: 100%;
    min-height: 150px;
    padding: 22px 15px 12px 15px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #0c3052;
    font-weight: 500;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    resize: vertical;
    line-height: 1.6;
}
.query-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231d66a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
    padding-right: 45px;
}
.query-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}
.query-textarea-label {
    top: 18px;
    transform: none;
}
.query-input:focus ~ .query-label,
.query-input:not(:placeholder-shown) ~ .query-label,
.query-select:focus ~ .query-label,
.query-select:valid:not([value=""]) ~ .query-label,
.query-textarea:focus ~ .query-label,
.query-textarea:not(:placeholder-shown) ~ .query-label {
    top: 2px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: #CFA03E;
    left: 12px;
    letter-spacing: 0.3px;
    max-width: 90%;
}
.query-textarea:focus ~ .query-textarea-label,
.query-textarea:not(:placeholder-shown) ~ .query-textarea-label {
    top: 2px;
}
.query-field-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.query-input-container:focus-within .query-field-border {
    width: calc(100% - 20px);
    left: 10px;
}
.query-error-message {
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
    margin-left: 15px;
    font-weight: 500;
    display: none;
}
.query-field-wrapper.error .query-error-message {
    display: block;
}
.query-field-wrapper.error .query-input-container {
    border-color: #ef4444;
    background: #fef2f2;
}
.query-field-wrapper.error .query-icon {
    color: #ef4444;
    border-right-color: #ef4444;
}
.query-upload-block {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafd;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}
.query-upload-block:hover {
    border-color: #1d66a8;
    box-shadow: 0 4px 12px rgba(29, 102, 168, 0.05);
}
.query-upload-block .query-upload-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #0c3052;
    font-size: 16px;
    margin-bottom: 8px;
}
.query-upload-block .query-upload-title i {
    color: #CFA03E;
    font-size: 18px;
}
.query-upload-block .query-optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 13px;
    margin-left: 5px;
}
.query-upload-block .query-upload-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #cbd5e1;
}
.query-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.query-file-row:last-child {
    margin-bottom: 0;
}
.query-file-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #1d66a8;
    font-size: 16px;
    flex-shrink: 0;
}
.query-file-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.query-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}
.query-file-text {
    flex: 1;
    height: 44px;
    padding: 0 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #64748b;
    font-size: 16px;
    outline: none;
    cursor: default;
    transition: all 0.3s ease;
}
.query-file-text:focus {
    border-color: #1d66a8;
}
.query-file-browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 25px;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    z-index: 2;
    flex-shrink: 0;
    margin: 3px 0 5px;
}
.query-file-browse:hover {
    background: linear-gradient(135deg, #CFA03E, #b8860b);
    color: #0c3052;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.query-file-browse:active {
    transform: translateY(0);
}
.query-file-input:focus + .query-file-text + .query-file-browse {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}
.query-recaptcha-wrapper {
    margin: 25px 0 20px;
    display: flex;
}
.query-terms-wrapper {
    margin: 20px 0 25px;
}
.query-terms-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    position: relative;
}
.query-terms-label input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}
.query-checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #0c3052;
    border-radius: 6px;
    border: 2px solid #FFFFFF;
    position: relative;
}
.query-terms-label input:checked ~ .query-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.query-terms-text {
    font-size: 12px;
    color: #6c757d;
}
.query-terms-text a {
    color: #1d66a8;
    text-decoration: none;
    font-weight: 600;
}
.query-terms-text a:hover {
    color: #CFA03E;
}.query-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}
.query-submit-btn {
    position: relative;
    padding: 16px 50px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px -8px rgba(13, 38, 59, 0.4);
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.query-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}
.query-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 40px -10px rgba(207, 160, 62, 0.5);
}
.query-submit-btn:hover::before {
    left: 100%;
}
.query-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(207,160,62);
    background: linear-gradient(
        180deg,
        rgba(230,185,90,1) 0%,
        rgba(207,160,62,1) 50%, 
        rgba(168,129,46,1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.query-submit-btn:hover::after {
    opacity: 1;
}
.query-submit-btn .query-btn-text,
.query-submit-btn .query-btn-icon {
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}
.query-submit-btn:hover .query-btn-text,
.query-submit-btn:hover .query-btn-icon {
    color: #333333;
}
.query-btn-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.query-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #CFA03E;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.query-page-heading {
    font-size: 36px;
    padding: 12px 25px;
}    
.query-form-heading {
        font-size: 28px;
}
    
.query-input-container {
        height: 55px;
}   
.query-file-row {
        flex-wrap: wrap;
}    
.query-file-icon {
        width: 40px;
        height: 40px;
		display: none;
}    
.query-file-browse {
        padding: 0 18px;
        height: 40px;
        font-size: 14px;
} 
.query-file-text {
        height: 40px;
        font-size: 14px;
}
.query-submit-btn {
        padding: 14px 40px;
        font-size: 18px;
        min-width: 220px;
  }
}
/* ===== AMENDED APPOINTMENT FORM STYLING ===== */

/* Banner Wrapper - Centered with left border */
.appointment-banner-wrapper {
    text-align: center;
    margin: 20px 0 30px;
    position: relative;
}

.appointment-page-heading {
    font-size: 48px;
    font-weight: 800;
    color: #0c3052;
    display: inline-block;
    padding: 15px 40px;
    margin: 0;
    position: relative;
    letter-spacing: -1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left: 5px solid #CFA03E;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 10px 30px -10px rgba(13, 38, 59, 0.2);
}

.appointment-page-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #1d66a8, #CFA03E);
    border-radius: 3px;
}

/* Form Wrapper */
.appointment-form-wrapper {
    margin: 0 auto;
    padding: 0;
}

/* Form Header */
.appointment-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.appointment-form-heading {
    font-size: 32px;
    font-weight: 700;
    color: #0c3052;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.appointment-form-subheading {
    color: #64748b;
    font-size: 14px;
    font-style: italic;
}

/* Field Wrapper */
.appointment-field-wrapper {
    margin-bottom: 25px;
    position: relative;
}

/* Input Container */
.appointment-input-container {
    display: flex;
    align-items: stretch;
    background: #f8fafd;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 60px;
    overflow: hidden;
}

.appointment-textarea-container {
    height: auto;
    min-height: 150px;
}

.appointment-input-container:hover {
    border-color: #1d66a8;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 102, 168, 0.05);
}

.appointment-input-container:focus-within {
    border-color: #CFA03E;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

/* Icon Section */
.appointment-icon {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
    border-right: 2px solid #e2e8f0;
    color: #1d66a8;
    font-size: 20px;
    transition: all 0.3s ease;
}

.appointment-textarea-icon {
    align-items: flex-start;
    padding-top: 25px;
}

.appointment-input-container:focus-within .appointment-icon {
    color: #CFA03E;
    border-right-color: #CFA03E;
}

/* Field Content */
.appointment-field-content {
    flex: 1;
    position: relative;
    height: 100%;
}

/* Input Fields */
.appointment-input,
.appointment-select {
    width: 100%;
    height: 100%;
    padding: 15px 15px 6px 15px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #0c3052;
    font-weight: 500;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.appointment-textarea {
    width: 100%;
    height: 100%;
    min-height: 150px;
    padding: 22px 15px 12px 15px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #0c3052;
    font-weight: 500;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    resize: vertical;
    line-height: 1.6;
}

.appointment-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231d66a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
    padding-right: 45px;
}

/* Labels */
.appointment-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}

.appointment-textarea-label {
    top: 18px;
    transform: none;
}

/* Floating Label Effect */
.appointment-input:focus ~ .appointment-label,
.appointment-input:not(:placeholder-shown) ~ .appointment-label,
.appointment-select:focus ~ .appointment-label,
.appointment-select:valid:not([value=""]) ~ .appointment-label,
.appointment-textarea:focus ~ .appointment-label,
.appointment-textarea:not(:placeholder-shown) ~ .appointment-label {
    top: 2px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: #CFA03E;
    left: 12px;
    letter-spacing: 0.3px;
    max-width: 90%;
    z-index: 10;
}

.appointment-textarea:focus ~ .appointment-textarea-label,
.appointment-textarea:not(:placeholder-shown) ~ .appointment-textarea-label {
    top: 7px;
}

/* Border Effect */
.appointment-field-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.appointment-input-container:focus-within .appointment-field-border {
    width: calc(100% - 20px);
    left: 10px;
}

/* Error Messages */
.appointment-error-message {
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
    margin-left: 15px;
    font-weight: 500;
    display: none;
}

.appointment-field-wrapper.error .appointment-error-message {
    display: block;
}

.appointment-field-wrapper.error .appointment-input-container {
    border-color: #ef4444;
    background: #fef2f2;
}

.appointment-field-wrapper.error .appointment-icon {
    color: #ef4444;
    border-right-color: #ef4444;
}

/* Upload Block */
.appointment-upload-block {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafd;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.appointment-upload-block:hover {
    border-color: #1d66a8;
    box-shadow: 0 4px 12px rgba(29, 102, 168, 0.05);
}

.appointment-upload-block .appointment-upload-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #0c3052;
    font-size: 16px;
    margin-bottom: 8px;
}

.appointment-upload-block .appointment-upload-title i {
    color: #CFA03E;
    font-size: 18px;
}

.appointment-upload-block .appointment-optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 13px;
    margin-left: 5px;
}

.appointment-upload-block .appointment-upload-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #cbd5e1;
}

/* File Rows */
.appointment-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.appointment-file-row:last-child {
    margin-bottom: 0;
}

.appointment-file-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #1d66a8;
    font-size: 16px;
    flex-shrink: 0;
}

.appointment-file-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.appointment-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.appointment-file-text {
    flex: 1;
    height: 44px;
    padding: 0 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #64748b;
    font-size: 16px;
    outline: none;
    cursor: default;
    transition: all 0.3s ease;
}

.appointment-file-text:focus {
    border-color: #1d66a8;
}

.appointment-file-browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 25px;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    color: white;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    z-index: 2;
    flex-shrink: 0;
    margin: 3px 0 5px;
}

.appointment-file-browse:hover {
    background: linear-gradient(135deg, #CFA03E, #b8860b);
    color: #0c3052;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.appointment-file-browse:active {
    transform: translateY(0);
}

.appointment-file-input:focus + .appointment-file-text + .appointment-file-browse {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Mode of Consultation */
.appointment-radio-group {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.appointment-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #475569;
}

.appointment-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #CFA03E;
}

/* Payment Section */
.appointment-payment-section {
    margin: 25px 0;
    text-align: center;
}

.appointment-payment-message {
    background: #e8f0fe;
    border-left: 4px solid #1d66a8;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: left;
}

.appointment-payment-message p {
    margin: 5px 0;
    color: #0c3052;
    font-size: 15px;
    line-height: 1.6;
}

/* reCAPTCHA */
.appointment-recaptcha-wrapper {
    margin: 25px 0 20px;
    display: flex;
}

/* Terms Wrapper */
.appointment-terms-wrapper {
    margin: 20px 0 25px;
}

.appointment-terms-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    position: relative;
}

.appointment-terms-label input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.appointment-checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #0c3052;
    border-radius: 6px;
    border: 2px solid #FFFFFF;
    position: relative;
}

.appointment-terms-label input:checked ~ .appointment-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.appointment-terms-text {
    font-size: 12px;
    color: #6c757d;
}

.appointment-terms-text a {
    color: #1d66a8;
    text-decoration: none;
    font-weight: 600;
}

.appointment-terms-text a:hover {
    color: #CFA03E;
}

/* Submit Button */
.appointment-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.appointment-submit-btn {
    position: relative;
    padding: 16px 50px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px -8px rgba(13, 38, 59, 0.4);
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.appointment-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.appointment-submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 40px -10px rgba(207, 160, 62, 0.5);
}

.appointment-submit-btn:hover::before {
    left: 100%;
}

.appointment-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(207,160,62);
    background: linear-gradient(
        180deg,
        rgba(230,185,90,1) 0%,
        rgba(207,160,62,1) 50%, 
        rgba(168,129,46,1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.appointment-submit-btn:hover::after {
    opacity: 1;
}

.appointment-submit-btn .appointment-btn-text,
.appointment-submit-btn .appointment-btn-icon {
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.appointment-submit-btn:hover .appointment-btn-text,
.appointment-submit-btn:hover .appointment-btn-icon {
    color: #333333;
}

.appointment-btn-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.appointment-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #CFA03E;
    animation: appointment-spin 0.8s linear infinite;
}

@keyframes appointment-spin {
    to { transform: rotate(360deg); }
}

/* Success Message Overlay */
.appointment-success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.appointment-success-modal {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #CFA03E;
}

.appointment-success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.appointment-success-title {
    font-size: 24px;
    font-weight: 700;
    color: #0c3052;
    margin-bottom: 15px;
}

.appointment-success-message {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.appointment-payment-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.appointment-pay-btn {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.appointment-pay-btn.india {
    background: linear-gradient(135deg, #1d66a8, #0c3052);
    color: white;
}

.appointment-pay-btn.outside {
    background: linear-gradient(135deg, #CFA03E, #b8860b);
    color: #0c3052;
}

.appointment-pay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.appointment-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .appointment-page-heading {
        font-size: 36px;
        padding: 12px 25px;
    }
    
    .appointment-form-heading {
        font-size: 28px;
    }
    
    .appointment-input-container {
        height: 55px;
    }
    
    .appointment-file-row {
        flex-wrap: wrap;
    }
    
    .appointment-file-icon {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .appointment-file-browse {
        padding: 0 18px;
        height: 40px;
        font-size: 14px;
    }
    
    .appointment-file-text {
        height: 40px;
        font-size: 14px;
    }
    
    .appointment-submit-btn {
        padding: 14px 40px;
        font-size: 18px;
        min-width: 220px;
    }
    
    .appointment-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}
/* Consultation Fee Block - Short & Clean */
.appointment-fee-block {
    margin: 25px 0;
    padding: 15px 20px;
    background: #f8fafd;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.appointment-fee-block:hover {
    border-color: #1d66a8;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 102, 168, 0.05);
}

.appointment-fee-title {
    font-weight: 600;
    color: #0c3052;
    font-size: 16px;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.3px;
}

.appointment-fee-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.appointment-fee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 25px;
    background: #ffffff;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.appointment-fee-item .appointment-fee-country {
    font-weight: 500;
    color: #1d66a8;
    font-size: 16px;
}

.appointment-fee-item .appointment-fee-amount {
    font-weight: 700;
    color: #0c3052;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.appointment-fee-item .appointment-fee-amount i {
    color: #CFA03E;
    font-size: 16px;
}

.appointment-fee-divider {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .appointment-fee-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .appointment-fee-divider {
        display: none;
    }
    
    .appointment-fee-item {
        width: 100%;
        justify-content: center;
    }
}
/* Error message display */
.appointment-error-message {
    display: none;
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
    margin-left: 15px;
    font-weight: 500;
}
.appointment-field-wrapper.error .appointment-error-message {
    display: block !important;
}

.appointment-field-wrapper.error .appointment-input-container {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

.appointment-field-wrapper.error .appointment-icon {
    color: #ef4444 !important;
    border-right-color: #ef4444 !important;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.appointment-spinner {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #CFA03E;
    animation: spin 0.8s linear infinite;
}
/******* Query in Contact Us Page *******/
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: 20px;
}

.form-row > .query-field-wrapper {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 0 10px;
}

/* Error message styling - CRITICAL for display */
.query-error-message {
    display: none !important;
    font-size: 12px;
    color: #ef4444;
    margin-top: 5px;
    margin-left: 15px;
    font-weight: 500;
}

.query-field-wrapper.error .query-error-message {
    display: block !important;
}

.query-field-wrapper.error .query-input-container {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

.query-field-wrapper.error .query-icon {
    color: #ef4444 !important;
    border-right-color: #ef4444 !important;
}

/* reCAPTCHA left alignment */
.recaptcha-left {
    margin: 20px 0;
    text-align: left;
}

.recaptcha-left .g-recaptcha {
    display: inline-block;
}

/* Ensure mb-0 class works */
.mb-0 {
    margin-bottom: 0 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .form-row > .query-field-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .form-row {
        margin-bottom: 0;
    }
}