/**
 * ResellerClub Overview Manager Styles
 * Independent overview tab styling
 */

/* Overview Tab Styles */
.domain-overview {
    padding: 20px 0;
}

.overview-loading {
    text-align: center;
    padding: 40px 20px;
}

.overview-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Overview Cards Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.overview-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

/* Status-specific styling */
.card-value:contains("Active") {
    color: #28a745;
}

.card-value:contains("Expired") {
    color: #dc3545;
}

.card-value:contains("Enabled") {
    color: #28a745;
}

.card-value:contains("Disabled") {
    color: #6c757d;
}

.card-value:contains("Locked") {
    color: #ffc107;
}

.card-value:contains("Unlocked") {
    color: #28a745;
}

/* Overview Actions */
.overview-actions {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.overview-actions .button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.overview-actions .button:hover {
    background: #005a87;
}

/* Error Styling */
.overview-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    border: 1px solid #f5c6cb;
}

.overview-error strong {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .overview-card {
        padding: 15px;
        gap: 12px;
    }
    
    .card-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .card-value {
        font-size: 16px;
    }
}

