/* ================================================================
   AEC Branch Transfer — Custom Theme
   Layered on top of Bootstrap 3 (style.css)
   ================================================================ */

/* ---------- Global ---------- */
body {
    background-color: #eef1f6;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    color: #2d3748;
}

/* ---------- Page Banner ---------- */
.aec-banner {
    background: linear-gradient(135deg, #0b1f4a 0%, #163066 100%);
    border-bottom: 4px solid #c0392b;
    padding: 18px 0 14px;
    text-align: center;
    margin-bottom: 0;
}
.aec-banner .aec-logo {
    height: 72px;
    margin-bottom: 8px;
    border-radius: 4px;
}
.aec-banner h1 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0 3px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.aec-banner h2 {
    color: #adc4ea;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.2px;
}

/* ---------- Sub-header bar ---------- */
.aec-subheader {
    background: #163066;
    color: #d0dff5;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #0b1f4a;
    margin-bottom: 30px;
}

/* ---------- Page Card ---------- */
.page-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    padding: 30px 36px 26px;
    margin-bottom: 30px;
}
.page-card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: #163066;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin: 0 0 22px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Form styles ---------- */
.form-horizontal .control-label {
    text-align: right;
    font-weight: 600;
    color: #4a5568;
    padding-top: 8px;
    font-size: 13.5px;
}
.form-control {
    border-radius: 4px;
    border-color: #cbd5e0;
    font-size: 13.5px;
    height: 36px;
}
.form-control:focus {
    border-color: #163066;
    box-shadow: 0 0 0 2px rgba(22, 48, 102, 0.15);
}
.form-control[readonly] {
    background-color: #f7f9fc;
    color: #555;
    cursor: default;
}

/* ---------- Choice dropdowns section ---------- */
.choice-item {
    margin-bottom: 8px;
}
.choice-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 3px;
}
.choice-select {
    width: 100%;
    max-width: 420px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    font-size: 13.5px;
    padding: 4px 8px;
    color: #2d3748;
}
.choice-select:focus {
    border-color: #163066;
    outline: none;
    box-shadow: 0 0 0 2px rgba(22, 48, 102, 0.15);
}

/* ---------- Note / Warning box ---------- */
.note-box {
    background: #fffbea;
    border-left: 4px solid #d69e2e;
    padding: 10px 16px;
    border-radius: 3px;
    margin: 14px 0 20px;
    font-size: 13px;
    color: #744210;
    line-height: 1.6;
}
.note-box strong { color: #5c3207; }

/* ---------- Alert for pre-submit warning ---------- */
.alert-submit-warning {
    background: #fff0f0;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #c0392b;
    color: #721c24;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 13px;
    margin: 16px 0;
}

/* ---------- Buttons ---------- */
.btn-aec {
    background-color: #163066;
    border-color: #0d1f4a;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 28px;
    border-radius: 4px;
    transition: background 0.2s;
}
.btn-aec:hover,
.btn-aec:focus {
    background-color: #0d1f4a;
    border-color: #071230;
    color: #fff;
}
.btn-back {
    background-color: #718096;
    border-color: #4a5568;
    color: #fff;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-back:hover,
.btn-back:focus {
    background-color: #4a5568;
    color: #fff;
}

/* ---------- Info / Confirmation Table ---------- */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin-bottom: 10px;
}
.info-table th,
.info-table td {
    padding: 9px 14px;
    border: 1px solid #dce3ed;
    vertical-align: top;
    text-align: left;
}
.info-table th {
    background: #eef2fa;
    color: #163066;
    font-weight: 700;
    width: 36%;
    white-space: nowrap;
}
.info-table tr:nth-child(even) td { background: #f8fafd; }
.info-table ol { margin: 4px 0; padding-left: 20px; }
.info-table li { padding: 2px 0; }

/* ---------- Receipt / Acknowledgment ---------- */
.receipt-header {
    text-align: center;
    padding: 10px 0 8px;
    border-bottom: 2px solid #163066;
    margin-bottom: 16px;
}
.receipt-header h3 {
    color: #163066;
    font-weight: 700;
    margin: 4px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.receipt-header p { color: #555; margin: 2px 0; font-size: 13px; }

.qr-block {
    text-align: center;
    padding: 12px;
    border: 1px solid #dce3ed;
    border-radius: 4px;
    background: #f8fafd;
}
.signature-block {
    text-align: center;
    padding: 10px;
    min-height: 80px;
    border: 1px dashed #aaa;
    border-radius: 4px;
    color: #777;
    font-size: 12px;
    font-style: italic;
}

.success-banner {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-left: 4px solid #38a169;
    color: #276749;
    border-radius: 4px;
    padding: 12px 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 10px;
}

/* ---------- Page Footer ---------- */
.aec-footer {
    text-align: center;
    padding: 14px 0 20px;
    margin-top: 10px;
    color: #718096;
    font-size: 12.5px;
    border-top: 1px solid #dde3ed;
}
.aec-footer a { color: #163066; }

/* ---------- Print ---------- */
@media print {
    body        { background: white !important; }
    .aec-banner { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .no-print   { display: none !important; }
    .page-card  { box-shadow: none; padding: 0; margin: 0; }
    .aec-footer { display: none; }
    .aec-subheader { display: none; }
}
