/* ============================================================
   STRATECH / SISTEMA DE RECIBOS DE VIAJES
   Archivo: assets/css/recibos.css
   Compatible con HTML5, Bootstrap y PHP 5.6
   ============================================================ */

body {
    background: #f4f6f9;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

/* =========================
   Panel administrativo
   ========================= */

.navbar-brand {
    font-weight: bold;
    letter-spacing: 0.5px;
}

.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    font-weight: bold;
}

.form-control,
.custom-select,
.btn {
    border-radius: 8px;
}

.btn-primary {
    background: #111827;
    border-color: #111827;
}

.btn-primary:hover {
    background: #000000;
    border-color: #000000;
}

.btn-success {
    border-radius: 8px;
}

.table th {
    background: #f8f9fa;
    font-size: 13px;
    text-transform: uppercase;
    color: #555;
}

.table td {
    vertical-align: middle;
}

/* =========================
   Vista pública del recibo
   ========================= */

.receipt-page {
    background: #111418;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.receipt-wrapper {
    max-width: 520px;
    margin: 0 auto;
    background: #181b21;
    min-height: 100vh;
}

.receipt-header {
    background: #2b2f36;
    padding: 34px 28px 36px 28px;
}

.receipt-date {
    color: #c9c9c9;
    font-size: 15px;
    margin-bottom: 26px;
}

.receipt-title {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.receipt-title span {
    display: block;
    text-transform: uppercase;
}

.receipt-subtitle {
    color: #f2f2f2;
    font-size: 17px;
    line-height: 1.5;
}

.receipt-body {
    padding: 32px 28px;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.receipt-total-label {
    font-size: 30px;
    font-weight: 800;
}

.receipt-total-amount {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.receipt-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 22px 0;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 11px 0;
    color: #f5f5f5;
    font-size: 16px;
}

.receipt-row .label {
    color: #e5e7eb;
}

.receipt-row .value {
    text-align: right;
    color: #ffffff;
    font-weight: 500;
}

.receipt-section-title {
    font-size: 26px;
    font-weight: 800;
    margin: 28px 0 18px 0;
}

.payment-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}

.payment-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.payment-logo {
    width: 48px;
    height: 28px;
    background: #132d8f;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

.payment-method {
    font-size: 16px;
    font-weight: 600;
}

.payment-date {
    color: #c8c8c8;
    font-size: 14px;
    margin-top: 4px;
}

.receipt-actions {
    padding: 0 28px 34px 28px;
}

.receipt-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    color: #d1d5db;
    font-size: 15px;
}

.receipt-btn {
    background: #23272f;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.receipt-btn:hover {
    background: #2d333d;
    color: #ffffff;
    text-decoration: none;
}

.receipt-note {
    color: #aeb4bd;
    font-size: 13px;
    line-height: 1.5;
    padding-top: 14px;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 576px) {
    .receipt-wrapper {
        max-width: 100%;
    }

    .receipt-header {
        padding: 30px 24px 34px 24px;
    }

    .receipt-body {
        padding: 30px 24px;
    }

    .receipt-actions {
        padding: 0 24px 30px 24px;
    }

    .receipt-title {
        font-size: 31px;
    }

    .receipt-total-label,
    .receipt-total-amount {
        font-size: 27px;
    }

    .receipt-action-row {
        align-items: flex-start;
        flex-direction: column;
    }
}