.gsc-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gsc-heading h1 {
    margin: 0 0 8px;
    color: #f1f5f9;
    font-size: 26px;
}

.gsc-heading p {
    margin: 0;
    color: #94a3b8;
}

.gsc-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gsc-controls {
    display: flex;
    align-items: end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px;
    margin-bottom: 20px;
    background: #182235;
    border: 1px solid #27344a;
    border-radius: 12px;
}

.gsc-controls label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13px;
}

.gsc-controls select {
    min-width: 190px;
    padding: 10px 12px;
    color: #f1f5f9;
    background: #101827;
    border: 1px solid #37465e;
    border-radius: 7px;
}

.gsc-date-label {
    color: #94a3b8;
    font-size: 12px;
    padding-bottom: 10px;
}

.gsc-status {
    color: #fbbf24;
    font-size: 13px;
}

.gsc-status-connected {
    color: #34d399;
}

.gsc-button {
    padding: 10px 14px;
    color: #fff;
    background: #2563eb;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.gsc-button:hover {
    background: #1d4ed8;
}

.gsc-notice {
    padding: 16px 18px;
    margin-bottom: 20px;
    color: #cbd5e1;
    background: #182235;
    border: 1px solid #27344a;
    border-radius: 10px;
    line-height: 1.6;
}

.gsc-notice-warning {
    background: #292316;
    border-color: #725b26;
    color: #fde68a;
}

.gsc-notice-error {
    background: #301b25;
    border-color: #7f3346;
    color: #fecdd3;
}

.gsc-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gsc-metric {
    padding: 20px;
    background: #182235;
    border: 1px solid #27344a;
    border-radius: 12px;
    min-width: 0;
}

.gsc-metric-label {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 12px;
}

.gsc-metric-value {
    color: #f8fafc;
    font-size: 27px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.gsc-panel {
    padding: 20px;
    margin-bottom: 20px;
    background: #182235;
    border: 1px solid #27344a;
    border-radius: 12px;
    min-width: 0;
}

.gsc-panel h2 {
    color: #f1f5f9;
    font-size: 17px;
    margin: 0 0 18px;
}

.gsc-chart-wrap {
    position: relative;
    height: 320px;
}

.gsc-table-wrap {
    overflow-x: auto;
}

.gsc-table {
    width: 100%;
    border-collapse: collapse;
    color: #cbd5e1;
    font-size: 13px;
}

.gsc-table th,
.gsc-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #27344a;
    text-align: left;
}

.gsc-table th {
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

.gsc-table td:first-child {
    overflow-wrap: anywhere;
    min-width: 180px;
}

@media (max-width: 1000px) {
    .gsc-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gsc-metrics {
        grid-template-columns: 1fr;
    }

    .gsc-heading h1 {
        font-size: 22px;
    }

    .gsc-controls {
        align-items: stretch;
    }

    .gsc-controls label,
    .gsc-controls select {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .gsc-chart-wrap {
        height: 260px;
    }
}

/* Search Console page markup alignment */
.gsc-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.gsc-card {
    min-width: 0;
    padding: 20px;
    background: #182235;
    border: 1px solid #27344a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gsc-card span,
.gsc-card small {
    color: #94a3b8;
    font-size: 13px;
}

.gsc-card strong {
    color: #f8fafc;
    font-size: 27px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.gsc-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gsc-panel-heading h2 {
    margin: 0 0 7px;
    color: #f1f5f9;
    font-size: 17px;
}

.gsc-panel-heading p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

.gsc-notice-success {
    color: #a7f3d0;
    background: #142c2b;
    border-color: #28594e;
}

.gsc-table tbody tr:hover {
    background: #202d42;
}

@media (max-width: 1000px) {
    .gsc-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gsc-kpis {
        grid-template-columns: 1fr;
    }

    .gsc-card strong {
        font-size: 24px;
    }
}

.gsc-notice-success {
    background: #142c2b;
    border-color: #28594e;
}

.gsc-table tbody tr:hover {
    background: #202d42;
}

@media (max-width: 1000px) {
    .gsc-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gsc-kpis {
        grid-template-columns: 1fr;
    }

    .gsc-card strong {
        font-size: 24px;
    }
}
