/* ================================================
   Dahinet - Hizmetler Sayfası Stilleri
   services.css
   ================================================ */

/* ── Services page wrapper ── */
.dn-services-page {
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Stat card color overrides for services ── */
.dn-svc-stat-active .dn-stat-icon   { background: #d1fae5; color: #059669; }
.dn-svc-stat-pending .dn-stat-icon  { background: #fef3c7; color: #d97706; }
.dn-svc-stat-suspended .dn-stat-icon { background: #fee2e2; color: #dc2626; }
.dn-svc-stat-total .dn-stat-icon    { background: #e0e7ff; color: #4f46e5; }

/* ── Service product name in table ── */
.dn-svc-product-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    display: block;
    line-height: 1.3;
}

/* ── Domain link inside service row ── */
.dn-svc-domain-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.dn-svc-domain-link:hover { color: #0052a3; text-decoration: underline; }
.dn-svc-no-domain { font-size: 0.8rem; color: #9ca3af; }

/* ── Amount & billing cycle ── */
.dn-svc-amount {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}
.dn-svc-cycle {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2px;
}

/* ── Service card icon in header ── */
.dn-svc-card-icon {
    font-size: 1.25rem;
    line-height: 1;
}

/* ── Service card product name ── */
.dn-svc-card-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 4px;
}

/* ── Hover state for service rows ── */
.dn-svc-row { cursor: pointer; }
.dn-svc-row:hover .dn-svc-product-name { color: #0066CC; }

/* ── Suspended row highlight ── */
.dn-svc-row[data-status="suspended"] { background: #fff5f5; }
.dn-svc-row[data-status="suspended"]:hover { background: #fee2e2; }

/* ── Pending row highlight ── */
.dn-svc-row[data-status="pending"] { background: #fffbeb; }
.dn-svc-row[data-status="pending"]:hover { background: #fef3c7; }
