/* 
 * Codeza Membership Public Styles
 * Premium, Modern UI for Membership Dashboard
 */

.codeza-membership-dashboard {
    background: #0f172a;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.codeza-membership-header {
    margin-bottom: 30px;
    text-align: center;
}

.codeza-membership-header h2 {
    color: #f8fafc;
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.plan-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
}

.codeza-membership-stats-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card.available.featured {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(30, 58, 138, 0.4) 100%);
}

.stat-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    opacity: 0.9;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    margin-top: 5px;
}

.codeza-membership-progress {
    margin-top: 20px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(30, 41, 59, 1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: width 0.5s ease-out;
}

.progress-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .codeza-membership-stats-grid {
        flex-direction: column;
    }
}

/* History Table Styles */
.codeza-claims-history {
    margin-top: 40px;
}

.codeza-claims-history h3 {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.codeza-table-wrapper {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.codeza-claims-table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
}

.codeza-claims-table th {
    background: rgba(15, 23, 42, 0.6);
    padding: 15px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.codeza-claims-table td {
    padding: 15px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.codeza-claims-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

.codeza-claims-table a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.codeza-claims-table a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.claim-view-btn {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.claim-view-btn:hover {
    background: rgba(59, 130, 246, 0.25);
}

.no-claims {
    padding: 30px;
    text-align: center;
    color: #64748b;
    font-style: italic;
}
