.tbp-dashboard-app {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tbp-dashboard-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.tbp-dashboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.tbp-dashboard-header h2 {
    color: #1a1a1a;
    font-size: 28px;
    margin: 0 0 10px;
}

.tbp-dashboard-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.tbp-dashboard-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.tbp-filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.tbp-filter-btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
}

.tbp-filter-btn.active {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

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

.tbp-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: #fff;
}

.tbp-stat-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tbp-stat-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tbp-stat-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.tbp-stat-value {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.tbp-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.tbp-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tbp-booking-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.tbp-booking-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tbp-booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.tbp-booking-id {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.tbp-status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.tbp-status-confirmed {
    background: #d4edda;
    color: #155724;
}

.tbp-status-pending {
    background: #fff3cd;
    color: #856404;
}

.tbp-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.tbp-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.tbp-booking-card-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.tbp-booking-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tbp-detail-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tbp-detail-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

.tbp-booking-card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tbp-payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.tbp-payment-status {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.tbp-payment-verified {
    background: #d4edda;
    color: #155724;
}

.tbp-payment-pending {
    background: #fff3cd;
    color: #856404;
}

.tbp-payment-pending_onsite {
    background: #cce5ff;
    color: #004085;
}

.tbp-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.tbp-no-bookings {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    margin: 20px 0;
    border: 2px dashed #dee2e6;
}

.tbp-no-bookings-icon {
    font-size: 72px;
    margin-bottom: 20px;
    display: inline-block;
    animation: tbp-pulse 2s ease-in-out infinite;
}

@keyframes tbp-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tbp-no-bookings h3 {
    color: #495057;
    font-size: 24px;
    margin: 0 0 12px;
    font-weight: 600;
}

.tbp-no-bookings p {
    margin: 0 0 24px;
    font-size: 16px;
    color: #6c757d;
}

.tbp-no-bookings .tbp-book-now-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.tbp-no-bookings .tbp-book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.tbp-login-required {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    margin: 20px 0;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tbp-login-required h3 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 10px;
    font-weight: 600;
}

.tbp-login-required p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px;
    font-size: 15px;
}

.tbp-login-required input {
    width: 100%;
    max-width: 320px;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.tbp-login-required input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.tbp-login-required input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.tbp-login-required button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.tbp-login-required button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.tbp-login-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.tbp-login-divider::before,
.tbp-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.tbp-login-divider span {
    padding: 0 16px;
}

.tbp-login-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
}

.tbp-login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.tbp-login-note {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .tbp-dashboard-container {
        padding: 20px;
    }

    .tbp-dashboard-header h2 {
        font-size: 22px;
    }

    .tbp-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .tbp-booking-card-body {
        grid-template-columns: 1fr 1fr;
    }
}
