/**
 * AudioCoach Usage Info Styles
 */

.audiocoach-usage-widget {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.audiocoach-usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.audiocoach-usage-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.audiocoach-inactive-notice {
    background-color: #f8d7da;
    color: #721c24;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.audiocoach-membership-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.audiocoach-membership-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.audiocoach-membership-badge.professional {
    background-color: #6c757d;
    color: #ffffff;
}

.audiocoach-membership-badge.bronze {
    background-color: #cd7f32;
    color: #ffffff;
}

.audiocoach-membership-badge.silver {
    background-color: #c0c0c0;
    color: #333333;
}

.audiocoach-membership-badge.gold {
    background-color: #ffd700;
    color: #333333;
}

.audiocoach-upgrade-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.audiocoach-upgrade-btn:hover {
    background-color: #218838;
    color: #ffffff;
    text-decoration: none;
}

.audiocoach-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}

.audiocoach-usage-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.audiocoach-usage-label {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
    color: #495057;
}

.audiocoach-progress-container {
    margin-bottom: 8px;
}

.audiocoach-progress-bar {
    height: 12px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.audiocoach-progress-fill {
    height: 100%;
    background-color: #28a745;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.audiocoach-progress-fill.warning {
    background-color: #ffc107;
}

.audiocoach-progress-fill.danger {
    background-color: #dc3545;
}

.audiocoach-progress-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.audiocoach-usage-info {
    font-size: 13px;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}

.audiocoach-stat-values {
    text-align: center;
}

.audiocoach-stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.audiocoach-stat-subtext {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.audiocoach-usage-breakdown {
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
    color: #868e96;
}

.audiocoach-upgrade-link {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

.audiocoach-upgrade-link:hover {
    text-decoration: underline;
    color: #218838;
}

.audiocoach-warning-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media screen and (max-width: 782px) {
    .audiocoach-usage-grid {
        grid-template-columns: 1fr;
    }
    
    .audiocoach-membership-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
