/* WakkaGo Global Escrow Master Design Grid Sheet System Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
}

/* Global Top Navigation Component Shell Layout */
.main-nav-bar {
    background-color: #0f172a;
    padding: 12px 16px;
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Stops elements from breaking or falling to a second line */
    width: 100%;
}


.logo-area {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-gray {
    color: #6366f1;
}

.nav-links-box {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-lnk {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.nav-lnk:hover, .nav-lnk.active-tab {
    color: #ffffff;
}

/* Direct Hero Search Components Section Layout */
.hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 64px 24px;
    text-align: center;
    color: #ffffff;
}

.hero-sub {
    font-size: 13px;
    font-weight: 700;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 15px;
    color: #94a3b8;
    max-width: 540px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
}

/* Centered Interactive Search Input Layout Forms Shell */
.search-form {
    max-width: 580px;
    margin: 0 auto;
    background: #ffffff;
    padding: 6px;
    border-radius: 12px;
    display: flex;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.input-wrapper {
    flex: 1;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    color: #1e293b;
    padding: 10px 0;
}

.select-wrapper {
    border-left: 1px solid #e2e8f0;
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.category-select {
    border: none;
    outline: none;
    font-size: 14px;
    color: #475569;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
}

.search-btn {
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.search-btn:hover {
    background-color: #4338ca;
}

/* Responsive Double Column Transaction Ledger Feeds Block Grid */
.main-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid !important;
   grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
}



.ledger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ledger-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.ledger-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
}



/* High Fidelity Side-By-Side Escrow Holden Cards Structure Modules */
.offer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.provider-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.deal-meta {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #f0fdf4;
    color: #166534;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
}

.details-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
}

.table-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.row-label {
    color: #64748b;
    font-weight: 500;
}

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

.row-value-bold {
    color: #059669;
    font-weight: 700;
    font-family: monospace;
    font-size: 14px;
}

.requirements-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 12px;
}

.req-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.req-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.card-actions {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

.btn-buy {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-buy:hover {
    background-color: #4338ca;
}

.btn-chat {
    background-color: white;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-chat:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

/* Mobile Media Query Breakpoint Matrix Logic overrides */
@media (max-width: 768px) {
    .grid-container {
     grid-template-columns: repeat(2, 1fr);
    }
}
.search-form {

        gap: 8px;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    .input-wrapper, .select-wrapper, .search-btn {
        background: white;
        border-radius: 8px;
        border: 1px solid #cbd5e1;
        width: 100%;
        padding: 6px 16px;
    }
    .select-wrapper {
        border-left: 1px solid #cbd5e1;
    }
    .category-select {
        width: 100%;
        padding: 6px 0;
    }
    .search-btn {
        background-color: #4f46e5;
        color: white;
        padding: 14px;
    }
}

/* Clean Split Grid Container Workspace Sizing */
.grid-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(48%, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Card Internal Table Sizing Rules */
.details-table {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 16px 0 !important;
    width: 100% !important;
}

/* Flexible Rows Splitting Labels and Values Left-to-Right */
.table-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 8px !important;
}

.row-label {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.row-value {
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
}

.row-value-bold {
    color: #4f46e5 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

/* --- Fix Side-by-Side Content Overlapping on Mobile --- */
@media screen and (max-width: 768px) {
    /* Force the main structure to respect mobile screen width boundaries */
    html, body, main, div, section {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Convert table rows to a stacked vertical alignment */
    .table-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
    }
}

/* Responsive Interface Breakpoint Override Rule logic */
@media (max-width: 768px) {
    /* Hide standard desktop link panels instantly on mobile widths */
    .desktop-menu, .nav-links {
        display: none !important;
    }
    
    /* Ensure the brand text aligns tightly next to the menu icon */
    .logo-area {
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
}

