@charset "utf-8";

/* Form Layout Customizations */
.form-container {
    margin-top: 10px;
}

/* Form Table overrides */
.table01 th {
    background-color: #f7f9fc;
    color: #333333;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    width: 32%;
}

.table01 td {
    vertical-align: middle;
    background-color: #ffffff;
}

/* Badges for Required / Optional fields */
.badge {
    display: inline-block;
    padding: 3px 6px;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

.badge-required {
    background-color: #e03131; /* Crimson Red */
}

.badge-optional {
    background-color: #868e96; /* Neutral Gray */
}

/* Inputs & Form Controls */
.form-control {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #ffffff;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #699aec; /* Brand Blue */
    background-color: #fbfdff;
    box-shadow: 0 0 0 3px rgba(105, 154, 236, 0.25);
    outline: none;
}

/* Specific Sizes */
.form-control-half {
    width: 50%;
    display: inline-block;
}

.form-control-short {
    width: 30%;
    display: inline-block;
}

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

/* Select Styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 8px 10px;
    padding-right: 30px;
    cursor: pointer;
}

/* Error highlights */
.has-error .form-control {
    border-color: #fa5252;
    background-color: #fff5f5;
}

.has-error .form-control:focus {
    box-shadow: 0 0 0 3px rgba(250, 82, 82, 0.25);
}

.error-text {
    color: #e03131;
    font-size: 12px;
    font-weight: bold;
    margin-top: 6px;
    display: block;
}

/* Honeypot Field for Spam Protection */
.honeypot-field {
    display: none !important;
}

/* Privacy Consent Block */
.consent-container {
    text-align: center;
    margin: 25px 0 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.consent-label {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    color: #333333;
}

.consent-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

/* Action Buttons Container */
.btn-group {
    text-align: center;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Standard Button Styles */
.btn {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 35px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn:focus {
    outline: none;
}

/* Primary Button (Submit/Send) */
.btn-primary {
    background-color: #0D3590; /* Corporate Navy */
    border-color: #0D3590;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #699aec; /* Accent Blue */
    border-color: #699aec;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-primary:disabled {
    background-color: #adb5bd;
    border-color: #adb5bd;
    color: #e9ecef !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Secondary Button (Back/Reset) */
.btn-secondary {
    background-color: #f1f3f5;
    border-color: #ced4da;
    color: #495057 !important;
}

.btn-secondary:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529 !important;
    transform: translateY(-1px);
}

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

/* Inline notes */
.form-note {
    font-size: 12px;
    color: #868e96;
    margin-top: 5px;
    line-height: 1.4;
}

/* Confirmation Page Styles */
.confirm-value {
    font-size: 14px;
    color: #333333;
    word-break: break-all;
    line-height: 1.6;
}

/* Error Box at Top */
.error-summary-box {
    background-color: #fff5f5;
    border: 2px solid #fa5252;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.error-summary-box h4 {
    color: #e03131;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
    background: none;
    padding: 0;
}

.error-summary-box ul {
    list-style-type: square;
    margin-left: 20px;
    color: #e03131;
    font-size: 13px;
}

.error-summary-box ul li {
    margin-bottom: 4px;
}

/* Success Layout adjustments */
.success-card {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    margin-bottom: 25px;
}

.success-icon {
    font-size: 48px;
    color: #40c057; /* Success Green */
    margin-bottom: 20px;
}

.success-title {
    font-size: 20px;
    color: #2b8a3e;
    font-weight: bold;
    margin-bottom: 15px;
}

.success-message {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
}
