/* Main ScamGuard Pro Styles */
.scmguard-client-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.scmguard-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 15px 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    color: #0073aa;
}

.tab-button.active {
    color: #0073aa;
    background: white;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0073aa;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.form-group button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-group button:hover {
    background: #005a87;
}

/* Risk Meter */
.scmguard-risk-meter {
    position: relative;
    width: 100%;
    height: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.risk-bar {
    height: 100%;
    transition: width 0.5s ease;
    position: relative;
}

.risk-bar span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Categories */
.scmguard-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.scmguard-category.business { background: #e3f2fd; color: #1976d2; }
.scmguard-category.romance { background: #ffebee; color: #c62828; }
.scmguard-category.financial { background: #fff3e0; color: #e65100; }
.scmguard-category.phishing { background: #e8f5e8; color: #2e7d32; }
.scmguard-category.tech-support { background: #f3e5f5; color: #7b1fa2; }
.scmguard-category.lottery { background: #fff8e1; color: #ff8f00; }
.scmguard-category.job { background: #e0f7fa; color: #006064; }
.scmguard-category.charity { background: #f1f8e9; color: #33691e; }
.scmguard-category.recovery { background: #ffebee; color: #b71c1c; }
.scmguard-category.investment { background: #fff3e0; color: #e65100; }
.scmguard-category.government { background: #e3f2fd; color: #1565c0; }
.scmguard-category.delivery { background: #f3e5f5; color: #6a1b9a; }
.scmguard.category.crypto { background: #fff8e1; color: #ff6f00; }
.scmguard-category.ai-generated { background: #ede7f6; color: #4527a0; }

/* Status */
.scmguard-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.scmguard-status.confirmed_scam { background: #ffebee; color: #c62828; }
.scmguard-status.suspicious { background: #fff3e0; color: #e65100; }
.scmguard-status.legitimate { background: #e8f5e8; color: #2e7d32; }
.scmguard-status.unknown { background: #f5f5f5; color: #616161; }

/* Stats Grid */
.scmguard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.scmguard-stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #0073aa;
}

.scmguard-stat-card .stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    margin: 0 0 5px 0;
}

.scmguard-stat-card .stat-label {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .scmguard-client-dashboard {
        margin: 10px;
        border-radius: 4px;
    }
    
    .tab-button {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .scmguard-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom CSS Variables */
:root {
    --primary-color: #0073aa;
    --secondary-color: #28a745;
    --accent-color: #dc3545;
    --background-color: #f8f9fa;
    --text-color: #333;
    --border-color: #ddd;
}

.scmguard-client-dashboard {
    border-color: var(--border-color);
    background: var(--background-color);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    background: var(--primary-color);
}

.form-group button {
    background: var(--primary-color);
}

.form-group button:hover {
    background: #005a87;
}