/* PROFESSIONAL ANALYTICS - Clean, Minimal, Data-Focused */

/* Clean Background */
#manager-analytics {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0;
}

/* Professional Card */
.pro-card {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 1rem;
    margin: 0 0.75rem 0.75rem 0.75rem;
    transition: box-shadow 0.2s ease;
}

.pro-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Header */
.pro-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.pro-header h2 {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

.pro-header p {
    color: #6b7280;
    font-size: 0.688rem;
    margin-top: 0.125rem;
}

/* Metric Cards */
.pro-metric {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.pro-metric:hover {
    border-color: #d4d4d4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pro-metric-label {
    font-size: 0.688rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.pro-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pro-metric-change {
    font-size: 0.688rem;
    font-weight: 500;
}

.pro-metric-change.positive {
    color: #059669;
}

.pro-metric-change.negative {
    color: #dc2626;
}

.pro-metric-change.neutral {
    color: #6b7280;
}

/* Revenue Cards */
.pro-revenue-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #1a1a1a;
    border-radius: 4px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.pro-revenue-card:hover {
    border-left-color: #4b5563;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pro-revenue-card.members { border-left-color: #1a1a1a; }
.pro-revenue-card.guests { border-left-color: #374151; }
.pro-revenue-card.walkin { border-left-color: #4b5563; }
.pro-revenue-card.society { border-left-color: #6b7280; }
.pro-revenue-card.tournament { border-left-color: #9ca3af; }
.pro-revenue-card.corporate { border-left-color: #d1d5db; }

.pro-revenue-label {
    font-size: 0.688rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.pro-revenue-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.pro-revenue-count {
    font-size: 0.688rem;
    color: #6b7280;
}

/* Table */
.pro-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.pro-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.pro-table thead th {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.688rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e0e0e0;
}

.pro-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.pro-table tbody tr:hover {
    background: #f8f9fa;
}

.pro-table tbody td {
    padding: 0.5rem 0.75rem;
    font-size: 0.813rem;
    color: #1a1a1a;
}

/* Rank Badges */
.pro-rank {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.688rem;
    font-weight: 600;
}

.pro-rank.gold {
    background: #1a1a1a;
    color: #ffffff;
}

.pro-rank.silver {
    background: #4b5563;
    color: #ffffff;
}

.pro-rank.bronze {
    background: #6b7280;
    color: #ffffff;
}

.pro-rank.other {
    background: #f3f4f6;
    color: #6b7280;
}

/* Buttons */
.pro-btn {
    background: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.813rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pro-btn:hover {
    background: #000000;
}

.pro-btn-outline {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}

.pro-btn-outline:hover {
    background: #f8f9fa;
    border-color: #d4d4d4;
}

/* Select */
.pro-select {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.813rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.pro-select:hover {
    border-color: #d4d4d4;
}

.pro-select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

/* Section Title */
.pro-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

/* Divider */
.pro-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.75rem 0;
}

/* Insights */
.pro-insight {
    background: #f8f9fa;
    border-left: 3px solid #1a1a1a;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.pro-insight-title {
    font-size: 0.813rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.pro-insight-text {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Progress Bar */
.pro-progress {
    background: #f3f4f6;
    border-radius: 3px;
    height: 6px;
    overflow: hidden;
}

.pro-progress-bar {
    background: #1a1a1a;
    height: 100%;
    transition: width 0.3s ease;
}

/* Icon */
.pro-icon {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Stats Grid */
.pro-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    #manager-analytics {
        padding: 0.5rem;
    }

    .pro-header h2 {
        font-size: 1.125rem;
    }

    .pro-metric-value {
        font-size: 1.25rem;
    }

    .pro-revenue-amount {
        font-size: 1.125rem;
    }
}
