/* Custom page-specific styles for Hotel Reconciliation */

.btn-outline-dark {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Overview Section Styles */
.hotel-overview-section .section-title {
    text-align: left;
    font-size: 2.8rem;
    line-height: 1.25;
    color: var(--primary-color);
    margin-top: 0.8rem;
    letter-spacing: -0.5px;
}

/* Metrics bar css */
.metrics-section {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    text-align: center;
}

.metric-card {
    background: var(--bg-white);
    padding: 2.2rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(12, 34, 64, 0.06);
    border-color: rgba(209, 161, 83, 0.2);
}

.metric-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    line-height: 1;
}

.metric-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
    font-weight: 550;
    line-height: 1.4;
}

/* Pipeline styles */
.pipeline-section {
    background: #040d1a;
    color: #ffffff;
    padding: 7rem 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-title-wrapper {
    margin-bottom: 4.5rem;
    max-width: 800px;
}

.pipeline-title-wrapper h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.pipeline-title-wrapper p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.08rem;
    line-height: 1.8;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.8rem;
    position: relative;
}

.pipeline-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

.pipeline-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(209, 161, 83, 0.35);
    transform: translateY(-6px);
}

.pipeline-num {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 700;
    letter-spacing: 1px;
}

.pipeline-card h3 {
    font-size: 1.28rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.35;
}

.pipeline-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
}

/* 16-point Suite Lists */
.recons-suite-section {
    padding: 7rem 0;
    background: var(--bg-white);
}

.recons-suite-title-wrapper {
    margin-bottom: 4.5rem;
    text-align: center;
}



.recons-suite-title-wrapper h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.recons-suite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.recons-category-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
}

.recons-category-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1.2rem;
    margin-bottom: 2.2rem;
}

.recons-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.recons-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recon-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1.2rem;
    align-items: flex-start;
}

.recon-item-num {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(209, 161, 83, 0.12);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-top: 0.1rem;
}

.recon-item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.recon-item-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-dark);
    opacity: 0.85;
}

/* Corporate CTA banner at the bottom */
.hotel-cta-section {
    background: linear-gradient(135deg, #051329 0%, #0a2246 100%);
    color: #ffffff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hotel-cta-wrapper {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hotel-cta-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hotel-cta-wrapper p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Revenue Pipeline Section Title */
#revenue-pipeline .section-title {
    text-align: left;
    font-size: 2.5rem;
    line-height: 1.35;
    color: #ffffff;
    margin-top: 0.5rem;
}

/* Reconciliation Process Flow Section */
.reconciliation-flow-section {
    background-color: rgb(5, 19, 41);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}
.flow-section-header {
    max-width: 800px;
    margin-bottom: 3.5rem;
}
.flow-section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}
.flow-section-header .section-desc {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #ffffff;
    opacity: 0.85;
}
.flow-container {
    display: flex;
    background: #ffffff;
    border: 1px solid rgba(12, 34, 64, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.flow-column {
    flex: 1;
    padding: 3rem 2.2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.flow-column:not(:last-child) {
    border-right: 1px solid rgba(12, 34, 64, 0.08);
}
.flow-column:hover {
    background-color: rgba(209, 161, 83, 0.03); /* Soft gold/cream glow on hover */
}
.flow-stage-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #4a6b5c; /* Sophisticated sage green stage label */
    margin-bottom: 1.2rem;
}
.flow-stage-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
}
.flow-stage-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Responsive overrides for Flow Section */
@media (max-width: 1024px) {
    .flow-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .flow-column:nth-child(even) {
        border-right: none;
    }
    .flow-column:nth-child(1), .flow-column:nth-child(2) {
        border-bottom: 1px solid rgba(12, 34, 64, 0.08);
    }
}
@media (max-width: 768px) {
    .flow-section-header h2 {
        font-size: 2.2rem;
    }
    .flow-container {
        grid-template-columns: 1fr;
    }
    .flow-column {
        border-right: none !important;
        padding: 2.5rem 1.8rem;
    }
    .flow-column:not(:last-child) {
        border-bottom: 1px solid rgba(12, 34, 64, 0.08);
    }
}

/* Exception Management Section */
.exception-management-section {
    background-color: #fcfcf9; /* Soft light-cream/beige background matching reference */
    padding: 6.5rem 0 8.5rem; /* Increased bottom padding for generous spacing */
    border-bottom: 1px solid var(--border-color);
}
.exception-split-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4.5rem;
    align-items: center;
}
.exception-content-col {
    max-width: 580px;
}
.exception-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4a6b5c; /* Muted green exception badge */
    margin-bottom: 1.2rem;
}
.exception-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}
.exception-desc {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.85;
    margin-bottom: 2.2rem;
}
.exception-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.exception-features-list li {
    font-size: 1rem;
    font-weight: 550;
    color: var(--primary-color);
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(12, 34, 64, 0.08);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.exception-features-list li:first-child {
    border-top: 1px solid rgba(12, 34, 64, 0.08);
}
.list-arrow {
    color: #2d6a4f;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Exception Table Card */
.exception-card {
    background: #ffffff;
    border: 1px solid rgba(12, 34, 64, 0.08);
    border-radius: 12px;
    padding: 2.2rem;
    box-shadow: 0 15px 40px rgba(12, 34, 64, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.exception-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(12, 34, 64, 0.08);
    border-color: rgba(209, 161, 83, 0.3);
}
.exception-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(12, 34, 64, 0.06);
    padding-bottom: 1rem;
}
.card-header-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}
.card-header-rows {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: lowercase;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.exception-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.exception-table th {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid rgba(12, 34, 64, 0.08);
}
.exception-table td {
    padding: 1.1rem 0.5rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid rgba(12, 34, 64, 0.04);
}
.exception-table tbody tr:last-child td {
    border-bottom: none;
}
.booking-id-cell {
    font-family: monospace;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
}
.amount-cell {
    font-weight: 600 !important;
}
.status-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}
.status-matched {
    background-color: #e2f0d9;
    color: #388e3c;
}
.status-exception {
    background-color: #fff3cd;
    color: #b06000;
}
.status-unmatched {
    background-color: #f8d7da;
    color: #c62828;
}

/* Responsive overrides for Exception section */
@media (max-width: 1024px) {
    .exception-split-wrapper {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .exception-content-col {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .exception-title {
        font-size: 2.2rem;
    }
    .exception-card {
        padding: 1.5rem;
    }
    .exception-table td, .exception-table th {
        padding: 0.8rem 0.4rem;
    }
}

/* Built for How Hotels Work Section */
.hotel-work-section {
    background-color: #051329; /* Dark Navy matches the Revenue Pipeline theme */
    color: #ffffff;
    padding: 6.5rem 0; /* Reset padding-bottom to keep spacing balanced */
    margin-bottom: 1rem; /* Separator gap exposing the white body background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.work-header {
    max-width: 800px;
    margin-bottom: 4rem;
}
.work-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4cd1a1; /* Light green/teal for high contrast on dark backgrounds */
    margin-bottom: 1.2rem;
}
.work-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}
.work-desc {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3.5rem;
}
.work-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 2.5rem 2.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}
.work-col:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(209, 161, 83, 0.35);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.work-col-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.1rem;
}
.work-col-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive overrides for Hotels Work section */
@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}
@media (max-width: 768px) {
    .work-title {
        font-size: 2.2rem;
    }
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 2.5rem;
    }
}



/* Responsive Overrides */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .recons-suite-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .pipeline-grid {
        grid-template-columns: 1fr;
    }

    .recons-category-card {
        padding: 2rem;
    }

    .recons-suite-title-wrapper h2 {
        font-size: 2rem !important;
    }

    .hotel-cta-wrapper h2 {
        font-size: 2rem;
    }

    .hotel-overview-section .section-title {
        font-size: 2.1rem;
    }

    #revenue-pipeline .section-title {
        font-size: 1.95rem;
    }

    .subtitle-badge {
        font-size: 0.75rem !important;
        letter-spacing: 1.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 0.8rem !important;
    }

    .exception-title {
        font-size: 2rem !important;
    }

    .work-title {
        font-size: 2rem !important;
    }

    .exception-management-section {
        padding: 4.5rem 0 !important;
    }

    .exception-desc {
        font-size: 0.98rem !important;
        margin-bottom: 1.8rem !important;
    }

    .exception-features-list li {
        font-size: 0.92rem !important;
        padding: 0.85rem 0 !important;
    }
}

/* Custom Sticky Mockup Image Height */
.hotel-sticky-product-img {
    height: 520px !important;
    width: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .hotel-sticky-product-img {
        height: 380px !important;
    }
}

@media (max-width: 576px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hotel-sticky-product-img {
        height: 280px !important;
    }
    .exception-card {
        padding: 1rem !important;
    }
    .exception-table th {
        font-size: 0.65rem !important;
        padding: 0.6rem 0.3rem !important;
    }
    .exception-table td {
        font-size: 0.8rem !important;
        padding: 0.7rem 0.3rem !important;
    }
    .booking-id-cell {
        font-size: 0.8rem !important;
    }
    .status-pill {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
    .recons-suite-title-wrapper h2 {
        font-size: 1.65rem !important;
    }
}

/* Pain Points Section Styles */
.pain-points-section {
    position: relative;
    z-index: 2;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.pain-point-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(12, 34, 64, 0.025);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pain-point-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 34, 64, 0.08);
    border-color: rgba(209, 161, 83, 0.35);
}

.pain-point-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(209, 161, 83, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.pain-point-card:hover .pain-point-icon-box {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

.pain-point-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.4rem 0 0.8rem;
    line-height: 1.4;
}

.pain-point-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Responsive overrides for Pain Points section */
@media (max-width: 991px) {
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pain-point-card {
        padding: 2rem 1.8rem;
    }
}