/* SaaS HQ — Cafe / Lisans (sadece merkez panel) */

#gw-view-saas-hq.gw-module-view {
    padding: 1.25rem 1.5rem 2rem;
    overflow: auto;
}

.gw-saas-hq-layout {
    display: grid;
    gap: 1.25rem;
    max-width: 1100px;
}

.gw-saas-hq-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.gw-saas-hq-status {
    font-size: 0.85rem;
    opacity: 0.85;
}

.gw-saas-hq-status.is-err {
    color: #f5a0a0;
}

.gw-saas-hq-status.is-ok {
    color: #9be7a8;
}

.gw-saas-hq-table-wrap {
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.gw-saas-hq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.gw-saas-hq-table th,
.gw-saas-hq-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.gw-saas-hq-table th {
    font-weight: 700;
    opacity: 0.75;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gw-saas-hq-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.gw-saas-hq-badge--on {
    background: rgba(60, 180, 100, 0.25);
    color: #9be7a8;
}

.gw-saas-hq-badge--off {
    background: rgba(180, 60, 60, 0.3);
    color: #f5a0a0;
}

.gw-saas-hq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.gw-saas-hq-actions button {
    font: inherit;
    font-size: 0.78rem;
    padding: 0.28rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

.gw-saas-hq-actions button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.gw-saas-hq-actions button.gw-saas-hq-btn-danger {
    border-color: rgba(220, 80, 80, 0.55);
    color: #f0a0a0;
}

.gw-saas-hq-actions button.gw-saas-hq-btn-danger:hover {
    background: rgba(180, 40, 40, 0.35);
}

.gw-saas-hq-form {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.gw-saas-hq-form h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.gw-saas-hq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.65rem;
}

.gw-saas-hq-field label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.75;
    margin-bottom: 0.2rem;
}

.gw-saas-hq-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);
    color: inherit;
    font: inherit;
}

.gw-saas-hq-form-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gw-saas-hq-form-actions button {
    font: inherit;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    font-weight: 700;
}

.gw-saas-hq-form-actions button.primary {
    background: rgba(70, 140, 220, 0.45);
    border-color: rgba(120, 180, 255, 0.45);
}

.gw-saas-hq-btn-refresh {
    font: inherit;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    font-weight: 700;
}

.gw-saas-hq-muted {
    font-size: 0.8rem;
    opacity: 0.65;
    word-break: break-all;
}

button.gw-topnav__item[data-nav-page="saas-hq"] i {
    color: #7ec8ff;
}
