/* Registration Card PDF Modern Styling - Scoped to unique ID */
#registration-card-content {
    background: #fff !important;
    color: #1e293b !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    position: relative;
    padding: 0 !important;
    width: 210mm;
    /* A4 Width */
    min-height: 297mm;
    /* A4 Height */
    box-sizing: border-box;
    overflow: hidden;
    display: block !important;
}

.upper-header-container {
    width: 100%;
    margin-bottom: 0;
}

.upper-header-container img {
    width: 100%;
    display: block;
}

.registration-body {
    padding: 0 50px;
}

.main-card-title {
    text-align: center;
    font-family: 'Playfair Display', serif !important;
    font-weight: 400;
    font-size: 24px !important;
    color: green;
    margin: 30px 0;
    letter-spacing: 0.5px;
}

.guest-details-grid {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-row {
    display: flex;
    align-items: center;
    font-size: 13px !important;
}

.detail-row .label {
    width: 160px;
    font-weight: 700;
    color: #1e293b;
}

.detail-row .separator {
    width: 20px;
    color: #64748b;
    font-weight: 700;
}

.detail-row .value {
    color: #334155;
    font-weight: 500;
}

.booking-grid-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.grid-row-group {
    width: 100%;
}

.grid-header-row {
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 8px 0;
    border-radius: 8px;
    text-align: center;
}

.grid-header-row .header-cell {
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.grid-value-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    padding: 4px 0;
}

.grid-value-row .value-cell {
    font-size: 16px !important;
    font-weight: 500;
    color: #1e293b;
}

.pax-group {
    width: 50%;
}

.pax-group .grid-header-row {
    grid-template-columns: 1fr 1fr;
}

.pax-group .grid-value-row {
    grid-template-columns: 1fr 1fr;
}

.terms-container {
    text-align: left;
}

.terms-header-badge {
    background: #f97316;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
}

.terms-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 20px;
}

.terms-bullet-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #1e293b;
    font-weight: 500;
}

.terms-bullet-points li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e293b;
    font-size: 20px;
    top: -3px;
}

.things-to-bring-box {
    font-size: 14px !important;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 0 5px;
}

.meal-options-footer {
    font-size: 14px !important;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 50px;
    padding: 0 5px;
}

.premium-pdf-footer {
    background: #475569;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 9px 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 8px solid var(--clr-4);
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-item i {
    font-size: 20px;
    color: #fff !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

.footer-item span {
    font-size: 14px;
    font-weight: 500;
}

.footer-divider {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 40px;
}

.pdf-outer-sec {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 210mm;
    z-index: -1000;
}

#pr-d-meal,
#pr-a-meal {
    text-transform: capitalize;
}

/* Premium Invoice Specific Styling */
.premium-invoice {
    background: #fff !important;
    color: #1e293b !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    position: relative;
    padding: 0 !important;
    width: 210mm;
    min-height: 297mm;
    box-sizing: border-box;
    overflow: hidden;
    display: block !important;
}

.inv-header-main {
    padding: 0;
    margin-bottom: 20px;
}

.inv-header-main img {
    width: 100%;
    display: block;
}

.inv-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 50px;
    margin-bottom: 30px;
}

.inv-title-row h1 {
    font-size: 44px !important;
    font-weight: 900;
    margin: 0;
    color: #0f172a;
    letter-spacing: -1px;
}

.inv-meta-info {
    text-align: right;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.inv-meta-info span {
    display: block;
}

.inv-meta-info b {
    color: #1e293b;
    font-weight: 700;
}

.inv-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 50px;
    margin-bottom: 40px;
    gap: 60px;
}

.details-col h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 700;
}

.details-col p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #475569;
}

.details-col strong {
    font-size: 16px;
    color: #1e293b;
    display: block;
    margin-bottom: 4px;
    font-weight: 800;
}

.inv-table-container {
    padding: 0 50px;
    margin-bottom: 20px;
}

.inv-table {
    width: 100%;
    border-collapse: collapse;
}

.inv-table th {
    text-align: left;
    padding: 10px 15px;
    background: #fff;
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
}

.inv-table td {
    padding: 8px 15px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: top;
}

.inv-table .text-right {
    text-align: right;
}

.inv-table .bold-row td {
    font-weight: 700;
}

.inv-total-row {
    background: #f1f5f9;
    font-weight: 800;
}

.inv-total-row td {
    padding: 5px 15px;
    border: none;
    font-size: 14px !important;
    color: #0f172a;
}

.inv-tc-sec {
    padding: 0 50px;
    margin-top: 30px;
}

.inv-tc-sec h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 18px;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inv-tc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inv-tc-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 6px;
    margin-bottom: 6px;
    color: #334155;
    line-height: 1.4;
    font-weight: 500;
}

.inv-tc-list li::before {
    content: '▼';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 9px;
    color: #000;
}

.child-policy-sub {
    margin-left: 20px;
    margin-top: 4px;
    display: block;
}

.inv-footer-bar {
    background: #334155;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 12px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

.footer-col {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.footer-col i {
    font-size: 16px;
    opacity: 0.9;
}

@media only screen and (max-width: 550px) {
    .terms-bullet-points li {
        font-size: 7px;
    }

}

/* Device Specific Font Sizes */
.is-ios .terms-bullet-points li, 
.is-ios .inv-tc-list li {
    font-size: 6px !important;
}

.not-ios .terms-bullet-points li, 
.not-ios .inv-tc-list li {
    font-size: 12px !important;
}