@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.sky-ga-dashboard {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}

/* Base Dashboard Card */
.sky-ga-dashboard.sky-seo-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 24px;
}

.sky-ga-dashboard .sky-seo-section-heading h2 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.sky-ga-property {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    -webkit-text-fill-color: #2563eb;
}

/* Toolbar */
.sky-gsc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sky-gsc-ranges .button {
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.sky-gsc-ranges .button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.sky-gsc-ranges .button.button-primary {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

/* Stats Cards */
.sky-gsc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.sky-gsc-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.sky-gsc-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.sky-gsc-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.sky-gsc-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Insights Section */
.sky-ga-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.sky-ga-insight-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}
.sky-ga-insight-card:hover {
    transform: translateY(-2px);
}
.sky-ga-insight-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #0f172a;
}
.sky-ga-insight-card p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

/* Chart Area */
.sky-ga-chart-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.sky-ga-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
    margin-top: 0;
}

/* Tables */
.sky-ga-table {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: none !important;
}
.sky-ga-table th {
    background: #f8fafc !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0 !important;
}
.sky-ga-table td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9 !important;
}
.sky-ga-table tr:last-child td {
    border-bottom: none !important;
}
.sky-ga-table a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.sky-ga-table a:hover {
    text-decoration: underline;
}

.sky-ga-msg {
    margin-top: 12px;
}
