/* ==========================================================================
   PARTNER UI STYLES
   ========================================================================== */

:root {
    --partner-primary: #5392f9;
    --partner-secondary: #008f5d;
    --partner-bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* --- Scoped from PartnerSnorkeling.jsx --- */
.partner-selection-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.selection-card-container {
    max-width: 600px;
    width: 100%;
}

.partner-selection-wrapper h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.partner-selection-wrapper .subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
}

.activity-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.selection-item {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.selection-item:hover {
    border-color: #5392f9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(83, 146, 249, 0.15);
}

.selection-item.active {
    border-color: #5392f9;
    background-color: #f0f6ff;
    box-shadow: 0 4px 12px rgba(83, 146, 249, 0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #f0f5ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5392f9;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.selection-item:hover .icon-box,
.selection-item.active .icon-box {
    background: #5392f9;
    color: white;
}

.text-content {
    flex-grow: 1;
}

.text-content h3 {
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    color: #2a2a2e;
    font-weight: 600;
}

.text-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.bottom-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.partner-selection-wrapper .btn {
    padding: 12px 45px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-back {
    background: #fff;
    border: 1px solid #ccc !important;
    color: #666;
}

.btn-back:hover {
    background: #f8f8f8;
}

.btn-next {
    background: #5392f9;
    color: #fff;
    box-shadow: 0 4px 10px rgba(83, 146, 249, 0.3);
}

.btn-next:hover {
    background: #367af6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(83, 146, 249, 0.4);
}

/* --- Premium Dashboard Refinements --- */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

.premium-stat-card {
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--partner-primary);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--partner-primary);
    margin-bottom: 12px;
    opacity: 0.8;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2a2a2e;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.activity-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.dashboard-hero {
    margin-bottom: 32px;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-welcome h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white !important;
}

.hero-welcome p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.calendar-preview-card {
    padding: 24px;
}

.booking-status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active-premium {
    background: #e6fffa;
    color: #047857;
}

.attention-badge {
    background: #fffaf0;
    border-left: 4px solid #f6ad55;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.attention-badge i {
    color: #f6ad55;
    font-size: 1.2rem;
}

/* --- Styles extracted from GlobalStyles.css (Line 2528+) --- */

/* --- Partner Navbar --- */
.partner-navbar {
    background-color: #ffffff;
    height: 56px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.partner-navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-platform-name {
    font-weight: bold;
    color: #2a2a2e;
    letter-spacing: -0.5px;
}

.partner-nav-divider {
    width: 1px;
    height: 24px;
    background-color: #e0e0e0;
}

.partner-property-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.partner-property-switcher:hover {
    background-color: #f5f7fa;
}

.partner-property-text {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2e;
}

.partner-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    margin-left: 16px;
}

.partner-nav-item {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    height: 56px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.partner-nav-item:hover {
    color: #5392f9;
}

.partner-nav-item.active {
    color: #5392f9;
    font-weight: 600;
    border-bottom: 2px solid #5392f9;
}

.partner-user-avatar {
    width: 32px;
    height: 32px;
    background-color: #5392f9;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* --- Partner Listings Page --- */
.listings-page-container {
    min-height: 100vh;
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
}

.listings-main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 24px;
}

.listings-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.listings-page-title {
    font-size: 28px;
    color: #2a2a2e;
    margin-bottom: 8px;
    font-weight: 400;
}

.listings-page-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

.listings-create-button {
    background-color: #5392f9;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

.listings-create-button:hover {
    background-color: #427ecf;
}

.listings-search-filter-container {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.listings-search-form {
    width: 300px;
}

.listings-filter-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.listings-filter-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    background-color: #e0e0e0;
    padding: 4px 8px;
    border-radius: 4px;
}

.listings-filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.listings-filter-button:hover {
    background-color: #f8f9fa;
}

.listings-search-group {
    position: relative;
    width: 100%;
}

.listings-search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
}

.listings-search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #ced4da;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.listings-search-input:focus {
    border-color: #5392f9;
}

.listings-table-container {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.listings-table-header {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    background-color: #f9fafb;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.listings-header-cell {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.listings-sort-icon {
    font-size: 10px;
    color: #999;
}

.listings-table-row {
    display: flex;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background-color 0.2s;
}

.listings-table-row:hover {
    background-color: #f8f9fa;
}

.listings-cell {
    font-size: 14px;
    color: #333;
}

.listings-activity-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
}

.listings-activity-name {
    font-weight: 600;
    font-size: 16px;
    color: #2a2a2e;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.listings-activity-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.listings-meta-separator {
    color: #bbb;
    font-size: 10px;
}

.listings-status-active {
    color: #008f5d;
    font-weight: 600;
}

.listings-status-inactive {
    color: #666;
    font-weight: 600;
}

.listings-pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 0 8px;
}

.listings-rows-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.listings-page-select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background-color: #fff;
}

.listings-page-navigation {
    display: flex;
    gap: 4px;
}

.listings-page-nav-button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
}

.listings-page-nav-button-active {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5392f9;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    color: #5392f9;
    font-weight: bold;
}

.listings-footer {
    padding: 24px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #888;
    font-size: 12px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.listings-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- Partner Booking Page --- */
.booking-page-container {
    min-height: 100vh;
    background-color: #f5f7fa;
}

.booking-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.booking-page-header {
    margin-bottom: 24px;
}

.booking-page-title {
    font-size: 24px;
    color: #2a2a2e;
    font-weight: 600;
    margin-bottom: 4px;
}

.booking-page-subtitle {
    font-size: 14px;
    color: #666;
}

.booking-filter-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.booking-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.booking-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 150px;
}

.booking-label {
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
}

.booking-input {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    font-size: 14px;
    outline: none;
}

.booking-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    font-size: 14px;
    outline: none;
    background-color: #fff;
}

.booking-search-button {
    background-color: #5392f9;
    color: white;
    border: none;
    padding: 9px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.booking-table-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.booking-table-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
}

.booking-header-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 16px;
}

.booking-export-button {
    background-color: #fff;
    color: #2d3748;
    border: 1px solid #cbd5e0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.booking-thead-row {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.booking-th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
}

.booking-tr {
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.1s;
}

.booking-tr:hover {
    background-color: #f8fafc;
}

.booking-td {
    padding: 14px 16px;
    font-size: 14px;
    color: #2d3748;
}

.booking-status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-confirmed {
    background-color: #e6fffa;
    color: #008f5d;
}

.status-pending {
    background-color: #fff8e6;
    color: #b7791f;
}

.status-cancelled {
    background-color: #fff5f5;
    color: #c53030;
}

.status-completed {
    background-color: #ebf8ff;
    color: #3182ce;
}

.booking-view-button {
    background-color: transparent;
    border: 1px solid #5392f9;
    color: #5392f9;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.booking-pagination {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf2f7;
}

.booking-page-info {
    font-size: 13px;
    color: #718096;
}

.booking-page-buttons {
    display: flex;
    gap: 4px;
}

.booking-page-btn {
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    color: #718096;
}

.booking-page-btn-active {
    padding: 6px 10px;
    border: 1px solid #5392f9;
    background-color: #5392f9;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

.booking-secondary-filter-row {
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.booking-filter-label-text {
    font-size: 14px;
    color: #4a5568;
    margin-right: 12px;
}

.booking-filter-chip {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #cbd5e0;
    background-color: #fff;
    font-size: 13px;
    color: #2d3748;
    cursor: pointer;
    gap: 8px;
}

.booking-tabs-container {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
    background-color: #fff;
}

.booking-tab-item {
    padding: 16px 4px;
    margin-right: 24px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.booking-tab-item.active {
    color: #3182ce;
    border-bottom: 2px solid #3182ce;
    font-weight: 600;
}

/* --- Analytics Dashboard --- */
.analytics-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.analytics-subtitle {
    color: #757575;
    font-size: 14px;
    margin-top: 5px;
}

.date-range-picker {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.metric-title {
    font-size: 13px;
    color: #757575;
    font-weight: 600;
    text-transform: uppercase;
}

.metric-icon {
    width: 32px;
    height: 32px;
    background: #f0f6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5392f9;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #2a2a2e;
    margin-bottom: 8px;
}

.metric-change {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.change-positive {
    color: #28a745;
}

.change-negative {
    color: #dc3545;
}

.chart-section {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

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

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: #2a2a2e;
}

.chart-placeholder {
    height: 300px;
    background: #fdfdfd;
    border: 1px dashed #ddd;
    border-radius: 6px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px;
}

.chart-bar {
    width: 40px;
    background: #5392f9;
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    position: relative;
    transition: height 0.5s ease;
}

.chart-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #757575;
}

.performance-section {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

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

.analytics-table th {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: #757575;
    font-size: 13px;
    font-weight: 600;
}

.analytics-table td {
    padding: 16px;
    border-bottom: 1px solid #f9f9f9;
    font-size: 14px;
    color: #2a2a2e;
}

.activity-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

/* --- Partner Layout --- */
.partner-layout-container {
    min-height: 100vh;
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
}

.partner-content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.partner-footer {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 12px;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
}

/* --- Partner Payouts --- */
.payouts-page-container {
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
    color: #2a2a2e;
}

.payouts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.payouts-title {
    font-size: 28px;
    font-weight: 700;
    color: #2a2a2e;
    margin: 0 0 8px 0;
}

.payout-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 340px;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-top: 4px solid #5392f9;
}

.bank-info {
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2e;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-number {
    font-family: monospace;
    font-size: 16px;
    color: #555;
    background: #f5f7fa;
    padding: 2px 6px;
    border-radius: 4px;
}

.payout-table-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

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

.payout-table th {
    text-align: left;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.payout-table td {
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

/* --- Activity Navbar --- */
.activity-navbar {
    background-color: #ffffff;
    height: 60px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.activity-navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: max-content;
}

.btn-back-nav {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.btn-back-nav:hover {
    background-color: #f0f0f0;
}

.activity-nav-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-activity-title {
    font-size: 14px;
    font-weight: 600;
    color: #2a2a2e;
}

.nav-activity-id {
    font-size: 12px;
    color: #757575;
}

.activity-navbar-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    margin-left: auto;
    margin-right: 32px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-tab {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.nav-tab:hover {
    color: #5392f9;
}

.nav-tab.active {
    color: #5392f9;
    font-weight: 600;
    border-bottom: 2px solid #5392f9;
}

.activity-navbar-actions {
    display: flex;
    align-items: center;
}

.btn-preview {
    background-color: #f0f6ff;
    color: #5392f9;
    border: 1px solid #cce0ff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-preview:hover {
    background-color: #e0edff;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 200px;
    z-index: 1001;
}

.nav-dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
    display: block;
    text-align: left;
}

.nav-dropdown-item:hover {
    background-color: #f5f7fa;
    color: #5392f9;
}

/* --- Standardized Partner Navigation Buttons --- */
.partner-footer-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #edf2f7;
    width: 100%;
}

.partner-btn-secondary {
    background: #fff;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.partner-btn-secondary:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

.partner-btn-primary {
    background: #5392f9;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partner-btn-primary:hover {
    background: #427ecf;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

}

.slot-inline-input {
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.slot-inline-input::-webkit-outer-spin-button,
.slot-inline-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.slot-inline-input:focus {
    border-color: #5392f9 !important;
    box-shadow: 0 0 0 2px rgba(83, 146, 249, 0.1);
}