:root {
    --blue: #2563eb;
    --blue-dark: #1e40af;
    --cyan: #0891b2;
    --cyan-soft: #dff8ff;
    --navy: #eaf3ff;
    --navy-dark: #f7fbff;
    --white: #ffffff;
    --header-bg: #ffffff;
    --header-bg-2: #eaf7ff;
    --dark-text: #102a56;
    --text: #14213d;
    --muted: #5c7293;
    --green: #16a34a;
    --orange: #d97706;
    --renew-start: #f59e0b;
    --renew-end: #ea580c;
    --renew-shadow: 0 16px 34px rgba(234, 88, 12, 0.24);
    --red: #dc2626;
    --purple: #7c3aed;
    --border: rgba(37, 99, 235, 0.16);
    --border-strong: rgba(37, 99, 235, 0.28);
    --shadow: 0 18px 48px rgba(23, 51, 102, 0.12);
    --shadow-soft: 0 10px 28px rgba(23, 51, 102, 0.08);
    --shadow-blue: 0 16px 38px rgba(37, 99, 235, 0.18);
    --radius: 22px;
}

/* RESET */
* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 8% 10%, rgba(8, 145, 178, 0.12), transparent 26%),
        radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.10), transparent 32%),
        radial-gradient(circle at 55% 100%, rgba(124, 58, 237, 0.08), transparent 34%),
        linear-gradient(135deg, #f8fcff 0%, #eef7ff 48%, #f9fbff 100%);
    color: var(--text);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.75;
    z-index: -1;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: 0.25s ease;
}

a:hover {
    color: var(--cyan);
}

img {
    max-width: 100%;
}

.container {
    width: min(1240px, 92%);
    margin-left: auto;
    margin-right: auto;
}

.main {
    flex: 1;
    padding: 0 0 70px;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: linear-gradient(90deg, #ffffff 0%, #f2fbff 55%, #e7f7ff 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 22px rgba(16, 42, 86, 0.08);
}

.nav {
    margin-left: auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: nowrap;
}

.nav a {
    display: inline-flex;
    align-items: center;
    height: 64px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
    text-shadow: none;
}

.nav a:hover {
    color: var(--blue);
    transform: translateY(-1px);
}

/* FOOTER */
.footer {
    margin-top: auto;
    padding: 26px 0;
    background: #ffffff;
    border-top: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--muted);
    font-size: 14px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    box-shadow: 0 24px 58px rgba(37, 99, 235, 0.22);
}

.btn-success {
    color: #fff;
    background: linear-gradient(90deg, #15803d, var(--green));
    box-shadow: 0 18px 42px rgba(22, 163, 74, 0.20);
}

.btn-danger {
    color: #fff;
    background: linear-gradient(90deg, #b91c1c, var(--red));
    box-shadow: 0 18px 42px rgba(220, 38, 38, 0.18);
}

.btn-secondary {
    color: var(--text);
    background: linear-gradient(90deg, #ffffff, #eef8ff);
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 10px 22px rgba(16, 42, 86, 0.08);
}

.btn-secondary:hover {
    color: var(--blue-dark);
    border-color: rgba(8, 145, 178, 0.40);
    background: #e8f6ff;
}

/* Hosting renewal uses a distinct warm color so it is easy to find. */
a.btn[href*="/client/hosting/renew/"] {
    color: #ffffff;
    background: linear-gradient(90deg, var(--renew-start), var(--renew-end));
    border-color: transparent;
    box-shadow: var(--renew-shadow);
}

a.btn[href*="/client/hosting/renew/"]:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    box-shadow: 0 20px 42px rgba(234, 88, 12, 0.30);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 13px;
    font-size: 13px;
}

/* SECTIONS */
.section-title {
    text-align: center;
    margin: 64px 0 34px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin: 0 0 10px;
    color: var(--text);
    letter-spacing: -1px;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* CARDS */
.card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top right, rgba(8, 145, 178, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
    box-shadow: var(--shadow);
    color: var(--text);
    animation: fadeUp 0.75s ease both;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%);
    pointer-events: none;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    border-color: rgba(8, 145, 178, 0.35);
    transform: translateY(-2px);
    transition: 0.25s ease;
}

.card h1,
.card h2,
.card h3 {
    color: var(--text);
}

.muted {
    color: var(--muted);
}

.price {
    margin: 22px 0 6px;
    color: var(--blue-dark);
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -1px;
}

.price small {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.plan-list {
    margin: 22px 0;
    padding-left: 0;
    list-style: none;
}

.plan-list li {
    padding: 9px 0;
    color: var(--muted);
}

.plan-list li::before {
    content: "✓";
    color: var(--cyan);
    margin-right: 9px;
}

.hosting-service-card {
    background:
        radial-gradient(circle at top right, rgba(8, 145, 178, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
    color: var(--text);
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow: var(--shadow);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0 30px;
}

.stat-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.stat-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 30px;
}

.stat-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.stat-card:nth-child(1) { border-color: rgba(8, 145, 178, 0.30); }
.stat-card:nth-child(1) strong { color: var(--cyan); }
.stat-card:nth-child(2) { border-color: rgba(22, 163, 74, 0.30); }
.stat-card:nth-child(2) strong { color: var(--green); }
.stat-card:nth-child(3) { border-color: rgba(217, 119, 6, 0.30); }
.stat-card:nth-child(3) strong { color: var(--orange); }
.stat-card:nth-child(4) { border-color: rgba(124, 58, 237, 0.30); }
.stat-card:nth-child(4) strong { color: var(--purple); }

.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 26px 0 15px;
}

.dashboard-section-header h2 {
    margin: 0;
    color: var(--text);
}

.empty-state {
    text-align: center;
    padding: 44px 20px;
}

.empty-state img {
    width: 90px;
    margin-bottom: 16px;
    opacity: 0.95;
}

/* FORMS */
.form-box {
    max-width: 760px;
    margin: 38px auto 0;
}

.form-group {
    margin-bottom: 17px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 850;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    outline: none;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.80);
    transition: 0.22s ease;
}

input::placeholder,
textarea::placeholder {
    color: #8aa0bf;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

textarea {
    min-height: 110px;
}

option {
    color: var(--text);
}

.radio-card {
    display: block;
    margin-bottom: 12px;
    padding: 15px;
    cursor: pointer;
    border-radius: 15px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: #ffffff;
    color: var(--text);
    transition: 0.22s ease;
}

.radio-card:hover {
    border-color: rgba(8, 145, 178, 0.38);
    background: #f2fbff;
    transform: translateX(3px);
}

.radio-card input {
    width: auto;
    margin-right: 10px;
}

.radio-card.selected {
    border-color: rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #eef7ff, #ffffff);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

/* ALERTS */
.alert {
    margin-top: 24px;
    margin-bottom: 18px;
    padding: 15px 17px;
    border-radius: 15px;
    border: 1px solid transparent;
    animation: fadeDown 0.45s ease both;
}

.alert-success {
    color: #14532d;
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.alert-danger {
    color: #7f1d1d;
    background: #fff1f2;
    border-color: #fecdd3;
}

.alert-warning {
    color: #78350f;
    background: #fffbeb;
    border-color: #fde68a;
}

/* TABLES */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: #ffffff;
    overflow: hidden;
}

.table th,
.table td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.10);
    text-align: left;
    color: var(--text);
    vertical-align: middle;
}

.table th {
    color: var(--dark-text);
    background: #eef7ff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr {
    transition: 0.22s ease;
}

.table tbody tr:hover {
    background: #f5fbff;
}

.table input,
.table select {
    min-width: 170px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.table td .btn {
    white-space: nowrap;
}

.table td form {
    margin: 0;
}

.table td form + form {
    margin-top: 8px;
}

.premium-table-wrap {
    border-color: rgba(37, 99, 235, 0.16);
}

.table-wrap:hover,
.card:has(table):hover {
    transform: none;
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    color: var(--text);
    background: #eef4ff;
    text-transform: capitalize;
    white-space: nowrap;
}

.badge-paid,
.badge-active {
    color: #14532d;
    background: #dcfce7;
}

.badge-pending_payment,
.badge-pending,
.badge-suspended {
    color: #78350f;
    background: #fef3c7;
}

.badge-cancelled,
.badge-failed,
.badge-deleted,
.badge-expired {
    color: #7f1d1d;
    background: #fee2e2;
}

.badge-none {
    color: #475569;
    background: #e2e8f0;
}

/* ADMIN */
.admin-menu {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-menu a {
    padding: 10px 14px;
    border-radius: 13px;
    color: var(--text);
    font-weight: 850;
    background: #ffffff;
    border: 1px solid var(--border);
}

.admin-menu a:hover {
    border-color: rgba(8, 145, 178, 0.34);
    background: #eef8ff;
}

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

.actions form {
    margin: 0;
}

/* PAYMENT STATUS */
.status-panel {
    max-width: 780px;
    margin: 34px auto 0;
    text-align: center;
}

.status-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    font-size: 42px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(8, 145, 178, 0.10));
    border: 1px solid rgba(8, 145, 178, 0.24);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.14);
}

/* PREMIUM DASHBOARD + DNS UI */
.eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-actions-mini {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.hosting-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hosting-service-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 26px;
    border: 1px solid var(--border);
}

.hosting-service-card:hover {
    border-color: rgba(8, 145, 178, 0.35);
    transform: translateY(-2px);
    transition: 0.25s ease;
}

.service-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    right: -130px;
    top: -130px;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.12);
    filter: blur(12px);
    pointer-events: none;
}

.service-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.service-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 23px;
    letter-spacing: -0.4px;
}

.service-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.service-alert {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
}

.service-alert.warning {
    color: #78350f;
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.service-details-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.service-detail {
    padding: 13px;
    border-radius: 17px;
    border: 1px solid var(--border);
    background: #ffffff;
}

.service-detail small {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-detail strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.service-detail.highlight {
    border-color: rgba(22, 163, 74, 0.20);
    background: rgba(22, 163, 74, 0.08);
}

.service-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-actions .btn {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 15px;
    font-size: 14px;
}

.service-note {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
}

.toggle-row small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.toggle-input {
    display: none;
}

.toggle-ui {
    width: 54px;
    height: 30px;
    flex-shrink: 0;
    position: relative;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.32);
    border: 1px solid rgba(37, 99, 235, 0.14);
    transition: 0.22s ease;
}

.toggle-ui::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 4px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: 0.22s ease;
}

.toggle-input:checked + .toggle-ui {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.toggle-input:checked + .toggle-ui::after {
    transform: translateX(23px);
}

.mini-toggle {
    width: 48px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.mini-toggle input {
    display: none;
}

.mini-toggle span {
    width: 48px;
    height: 28px;
    position: relative;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.mini-toggle span::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 3px;
    left: 4px;
    border-radius: 50%;
    background: #fff;
    transition: 0.22s ease;
}

.mini-toggle input:checked + span {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.mini-toggle input:checked + span::after {
    transform: translateX(19px);
}

/* DOMAIN CHECKOUT */
.domain-availability-box {
    margin: 16px 0 24px;
    padding: 18px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f4fbff);
    box-shadow: 0 14px 34px rgba(23, 51, 102, 0.08);
}

.domain-check-result {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.domain-check-result.success,
.domain-check-result.error {
    padding: 14px;
    border-radius: 16px;
    white-space: normal;
}

.domain-check-result.success {
    color: #14532d;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.domain-check-result.error {
    color: #7f1d1d;
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.domain-check-result.loading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    color: var(--muted);
    font-weight: 850;
}

.domain-check-result.loading::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 3px solid rgba(37, 99, 235, 0.16);
    border-top-color: var(--blue);
    animation: spin 0.8s linear infinite;
}

.domain-check-result.loading::after {
    content: "";
    width: 28px;
    overflow: hidden;
    white-space: nowrap;
    animation: loadingDots 1.2s steps(4, end) infinite;
}

.domain-suggestions {
    margin-top: 18px;
}

.domain-suggestions h4 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 15px;
}

.domain-suggestion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.domain-suggestion-card {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: #ffffff;
    display: grid;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(23, 51, 102, 0.07);
}

.domain-suggestion-card strong {
    color: var(--blue-dark);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.domain-suggestion-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.domain-suggestion-card .btn,
.use-suggestion {
    min-height: 40px;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loadingDots {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
    100% { content: ""; }
}

/* RESPONSIVE */
@media (min-width: 980px) {
.form-box {
        max-width: 760px;
        padding: 32px;
    }

    .domain-suggestion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
.stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
.hosting-service-grid,
.grid-2 {
        grid-template-columns: 1fr;
    }

    .service-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
.header {
        height: auto;
    }

    .nav {
        width: 100%;
        height: auto;
        justify-content: flex-start;
        gap: 16px;
        flex-wrap: wrap;
    }

    .nav a {
        height: auto;
        font-size: 13px;
        padding: 4px 0;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .dashboard-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
.form-box {
        max-width: 100%;
        margin-top: 22px;
        padding: 22px;
    }

    .domain-suggestion-grid,
.service-details-grid,
.stat-grid,
.hosting-service-grid,
.grid-2,
.grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
.service-top {
        grid-template-columns: 52px 1fr;
    }

    .service-top .badge {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions-mini {
        display: grid;
    }
}

@media (max-width: 560px) {
.container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        gap: 12px;
    }

    .nav a {
        font-size: 13px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .actions .btn,
.actions a {
        width: 100%;
    }

    .table {
        min-width: 760px;
    }
}

/* =========================================================
   Manage Website Page - Clean Professional UI
   For:
   service-image-icon
   secret/password fields
   copy buttons
   reset password timer
   ========================================================= */

/* Main card polish */
.hosting-service-card:has(.service-image-icon) {
    position: relative;
    border-radius: 28px;
    padding: 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.93));
    border: 1px solid rgba(185, 200, 255, 0.72);
    box-shadow: 0 22px 48px rgba(30, 64, 175, 0.10);
    overflow: hidden;
}

.hosting-service-card:has(.service-image-icon) .service-glow {
    opacity: 0.25;
}

/* Card header */
.hosting-service-card:has(.service-image-icon) .service-top {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.service-image-icon {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    border: 1px solid rgba(165, 190, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow:
        0 14px 26px rgba(37, 99, 235, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.service-image-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.hosting-service-card:has(.service-image-icon) .service-heading h2,
.hosting-service-card:has(.service-image-icon) .service-heading h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
    color: #111827;
    letter-spacing: -0.35px;
}

.hosting-service-card:has(.service-image-icon) .service-heading p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.45;
    color: #64748b;
    font-weight: 700;
}

.hosting-service-card:has(.service-image-icon) .badge {
    align-self: start;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

/* Details grid */
.hosting-service-card:has(.service-image-icon) .service-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hosting-service-card:has(.service-image-icon) .service-detail {
    min-height: 82px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(190, 205, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
}

.hosting-service-card:has(.service-image-icon) .service-detail small {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 900;
}

.hosting-service-card:has(.service-image-icon) .service-detail strong,
.hosting-service-card:has(.service-image-icon) .service-detail a {
    font-size: 14px;
    line-height: 1.35;
    color: #111827;
    font-weight: 900;
    word-break: break-word;
}

.hosting-service-card:has(.service-image-icon) .service-detail a {
    color: #2563eb;
    text-decoration: none;
}

.hosting-service-card:has(.service-image-icon) .service-detail a:hover {
    text-decoration: underline;
}

.hosting-service-card:has(.service-image-icon) .service-detail.highlight {
    background: linear-gradient(145deg, rgba(236, 253, 245, 0.92), rgba(240, 253, 250, 0.78));
    border-color: rgba(45, 212, 191, 0.48);
}

/* Action buttons inside Manage Website cards */
.hosting-service-card:has(.service-image-icon) .service-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hosting-service-card:has(.service-image-icon) .service-actions .btn,
.hosting-service-card:has(.service-image-icon) .service-actions form,
.hosting-service-card:has(.service-image-icon) .service-actions form button {
    width: 100%;
}

.hosting-service-card:has(.service-image-icon) .service-actions .btn,
.hosting-service-card:has(.service-image-icon) .service-actions button.btn {
    min-height: 50px;
    border-radius: 16px;
    font-weight: 900;
    text-align: center;
    justify-content: center;
}

/* Reset button gets full row */
.hosting-service-card:has(.service-image-icon) .service-actions form {
    grid-column: 1 / -1;
}

/* Notes and warning boxes */
.hosting-service-card:has(.service-image-icon) .service-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(239, 246, 255, 0.76);
    border: 1px solid rgba(191, 219, 254, 0.78);
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

.hosting-service-card:has(.service-image-icon) .service-alert.warning {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 251, 235, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: #92400e;
    font-weight: 800;
    line-height: 1.45;
}

#reset-countdown {
    min-width: 44px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    color: #ffffff;
    font-weight: 900;
}

/* Section spacing */
.dashboard-section-header + .hosting-service-grid {
    margin-top: 18px;
}

.hosting-service-grid + .dashboard-section-header {
    margin-top: 34px;
}

/* Responsive */
@media (max-width: 900px) {
.hosting-service-card:has(.service-image-icon) .service-top {
        grid-template-columns: 64px 1fr;
    }

    .hosting-service-card:has(.service-image-icon) .badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .hosting-service-card:has(.service-image-icon) .service-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
.hosting-service-card:has(.service-image-icon) {
        padding: 20px;
        border-radius: 22px;
    }

    .service-image-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .service-image-icon img {
        width: 36px;
        height: 36px;
    }

    .hosting-service-card:has(.service-image-icon) .service-heading h2,
.hosting-service-card:has(.service-image-icon) .service-heading h3 {
        font-size: 20px;
    }

    .hosting-service-card:has(.service-image-icon) .service-actions {
        grid-template-columns: 1fr;
    }
}

.dns-attention-panel {
    margin: 24px 0;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.20), transparent 34%),
        linear-gradient(145deg, #fff7ed, #fff1f2);
    border: 1px solid rgba(248, 113, 113, 0.45);
    box-shadow: 0 22px 50px rgba(185, 28, 28, 0.12);
}

.dns-attention-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dns-attention-head h2 {
    margin: 4px 0 6px;
    color: #7f1d1d;
}

.dns-attention-head p {
    margin: 0;
    color: #7c2d12;
    font-weight: 700;
    line-height: 1.6;
}

.dns-pulse-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    animation: dnsPulse 1.4s infinite;
    white-space: nowrap;
}

@keyframes dnsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.45);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.dns-attention-list {
    display: grid;
    gap: 14px;
}

.dns-attention-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(248, 113, 113, 0.32);
}

.dns-attention-item strong {
    color: #111827;
    font-size: 18px;
}

.dns-attention-item p {
    margin: 6px 0 10px;
    color: #7c2d12;
}

.dns-attention-item small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 11px;
}

.dns-ns-mini-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 7px;
}

.dns-ns-mini-list code {
    padding: 6px 9px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid rgba(248, 113, 113, 0.28);
    color: #991b1b;
    font-weight: 900;
    word-break: break-word;
}

.dns-attention-actions {
    display: grid;
    gap: 10px;
    align-content: center;
}

.dns-attention-actions form,
.dns-attention-actions button,
.dns-attention-actions a {
    width: 100%;
}

@media (max-width: 760px) {
.dns-attention-head,
.dns-attention-item {
        grid-template-columns: 1fr;
        display: grid;
    }

    .dns-pulse-badge {
        justify-self: start;
    }
}

.setup-confirmation-card {
    border: 1px solid rgba(245, 158, 11, 0.40);
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 34%),
        rgba(255, 255, 255, 0.96);
}

.setup-confirmation-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #92400e;
    font-weight: 900;
    line-height: 1.6;
}

.setup-confirmation-label input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #dc2626;
}

/* =========================================================
   FourSys Friendly Notes + Softer DNS Attention UI
   ========================================================= */

:root {
    --note-green-bg: #ecfdf5;
    --note-green-bg-2: #f0fdfa;
    --note-green-border: rgba(16, 185, 129, 0.34);
    --note-green-text: #064e3b;
    --note-green-title: #047857;

    --note-red-bg: #fff1f2;
    --note-red-bg-2: #fff7ed;
    --note-red-border: rgba(248, 113, 113, 0.36);
    --note-red-text: #7f1d1d;

    --friendly-dns-bg: #f0fdfa;
    --friendly-dns-bg-2: #eff6ff;
    --friendly-dns-border: rgba(20, 184, 166, 0.28);
    --friendly-dns-text: #0f766e;
}

/* General note boxes */
.service-alert {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    border: 1px solid rgba(20, 184, 166, 0.22);
    color: #0f766e;
    line-height: 1.55;
}

/* SSL mandatory and similar notes */
.service-alert.warning,
.hosting-service-card:has(.service-image-icon) .service-alert.warning {
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.96) 0%, rgba(255, 247, 237, 0.90) 100%);
    border: 1px solid var(--note-green-border);
    border-left: 5px solid #10b981;
    color: var(--note-green-text);
    box-shadow: 0 12px 26px rgba(16, 185, 129, 0.08);
}

.service-alert.warning strong,
.hosting-service-card:has(.service-image-icon) .service-alert.warning strong {
    color: #9a3412;
}

/* Normal warning alerts become friendlier */
.alert-warning {
    color: #064e3b;
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 251, 235, 0.90));
    border-color: rgba(16, 185, 129, 0.30);
    border-left: 5px solid #10b981;
}

/* =========================================================
   Dashboard DNS Attention Panel - softer and welcoming
   ========================================================= */

.dns-attention-panel {
    margin: 24px 0;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 36%),
        linear-gradient(145deg, #f0fdfa 0%, #eff6ff 100%);
    border: 1px solid var(--friendly-dns-border);
    box-shadow: 0 20px 45px rgba(15, 118, 110, 0.08);
}

.dns-attention-head h2 {
    color: #0f172a;
}

.dns-attention-head p {
    color: #475569;
    font-weight: 700;
}

.dns-pulse-badge {
    background: linear-gradient(90deg, #0f766e, #0891b2);
    color: #ffffff;
    animation: none;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.16);
}

.dns-attention-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 184, 166, 0.22);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.06);
}

.dns-attention-item strong {
    color: #0f172a;
}

.dns-attention-item p {
    color: #475569;
}

.dns-attention-item small {
    color: #0f766e;
}

.dns-ns-mini-list code {
    background: #ffffff;
    border: 1px solid rgba(20, 184, 166, 0.28);
    color: #0f766e;
}

/* DNS buttons feel like setup/help instead of danger */
.dns-attention-actions .btn-danger {
    color: #ffffff;
    background: linear-gradient(90deg, #0f766e, #0891b2);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.16);
}

.dns-attention-actions .btn-danger:hover {
    box-shadow: 0 20px 42px rgba(15, 118, 110, 0.20);
}

/* DNS confirmation box in setup page */
.setup-confirmation-card {
    border: 1px solid rgba(20, 184, 166, 0.28);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.96));
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.07);
}

.setup-confirmation-label {
    color: #0f766e;
}

.setup-confirmation-label input {
    accent-color: #0f766e;
}

/* Softer warning cards in setup choices */
#wordpress-details-card .service-alert.warning,
#custom-php-note .service-alert.warning {
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 247, 237, 0.88));
    border: 1px solid rgba(16, 185, 129, 0.30);
    border-left: 5px solid #10b981;
    color: #064e3b;
}

/* Mobile polish */
@media (max-width: 760px) {
.dns-attention-panel {
        border-radius: 22px;
        padding: 20px;
    }

    .dns-attention-actions {
        margin-top: 2px;
    }
}

/* =========================================================
   CONTACT PAGE + SUPPORT CHAT
========================================================= */

.contact-page,
.support-page,
.admin-support-page,
.admin-support-chat-page,
.admin-contact-messages-page,
.admin-contact-message-view {
    padding-top: 24px;
}

.contact-grid {
    align-items: stretch;
}

.contact-info-card h2,
.contact-form-card h2 {
    margin-top: 0;
}

.contact-info-list {
    display: grid;
    gap: 14px;
    margin: 26px 0;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 15px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.contact-info-item span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(8, 145, 178, 0.10));
    color: var(--blue-dark);
    font-size: 24px;
}

.contact-info-item small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.contact-info-item strong {
    display: block;
    color: var(--text);
    font-size: 15px;
    overflow-wrap: anywhere;
}

.contact-message-body {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
    line-height: 1.7;
}

/* Floating Live Chat Button */
.live-chat-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.36);
    font-weight: 950;
    animation: liveChatPulse 1.8s infinite;
}

.live-chat-float:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 26px 60px rgba(37, 99, 235, 0.34);
}

.live-chat-float span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 19px;
}

.live-chat-float strong {
    color: #ffffff;
    font-size: 14px;
}

@keyframes liveChatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.30), 0 20px 48px rgba(37, 99, 235, 0.28);
    }

    70% {
        box-shadow: 0 0 0 13px rgba(37, 99, 235, 0), 0 20px 48px rgba(37, 99, 235, 0.28);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), 0 20px 48px rgba(37, 99, 235, 0.28);
    }
}

/* Support Chat Layout */
.support-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.support-sidebar {
    position: sticky;
    top: 86px;
}

.soft-divider {
    border: 0;
    height: 1px;
    margin: 26px 0;
    background: rgba(37, 99, 235, 0.14);
}

.conversation-list {
    display: grid;
    gap: 12px;
}

.conversation-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 17px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    box-shadow: var(--shadow-soft);
}

.conversation-item:hover,
.conversation-item.active {
    border-color: rgba(8, 145, 178, 0.42);
    background: #f2fbff;
    color: var(--text);
    transform: translateY(-1px);
}

.conversation-item strong {
    color: var(--text);
    overflow-wrap: anywhere;
}

.conversation-item small {
    color: var(--muted);
    font-weight: 800;
}

.chat-panel {
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.admin-chat-panel {
    min-height: 650px;
}

.chat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.chat-header h2 {
    margin: 0 0 6px;
}

.chat-messages {
    flex: 1;
    min-height: 410px;
    max-height: 560px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top right, rgba(8, 145, 178, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff, #f7fbff);
}

.chat-bubble {
    max-width: min(78%, 620px);
    padding: 13px 15px;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 10px 22px rgba(16, 42, 86, 0.07);
}

.chat-bubble.mine {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.24);
}

.chat-bubble.theirs {
    align-self: flex-start;
    background: #ffffff;
    color: var(--text);
}

.chat-bubble-meta {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 950;
    opacity: 0.78;
}

.chat-bubble-text {
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 16px;
    align-items: end;
}

.chat-composer textarea {
    min-height: 58px;
    max-height: 160px;
    resize: vertical;
}

.chat-composer .btn {
    min-width: 120px;
    min-height: 58px;
}

.chat-empty-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(8, 145, 178, 0.10));
    border: 1px solid rgba(8, 145, 178, 0.24);
    font-size: 40px;
}

/* Extra badge statuses */
.badge-open {
    color: #14532d;
    background: #dcfce7;
}

.badge-closed,
.badge-archived {
    color: #475569;
    background: #e2e8f0;
}

.badge-new {
    color: #1e40af;
    background: #dbeafe;
}

.badge-read,
.badge-replied {
    color: #14532d;
    background: #dcfce7;
}

/* Responsive */
@media (max-width: 1050px) {
.support-layout {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 720px) {
.chat-composer {
        grid-template-columns: 1fr;
    }

    .chat-composer .btn {
        width: 100%;
    }

    .chat-bubble {
        max-width: 94%;
    }

    .live-chat-float {
        right: 16px;
        bottom: 16px;
        padding: 12px 14px;
    }

    .live-chat-float strong {
        display: none;
    }
}

/* =========================================================
   FOURSYS CLEAN HOMEPAGE
   ========================================================= */

.fs-home-hero {
    width: 100vw;
    height: calc(100svh - 64px);
    min-height: 690px;
    margin-left: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #071637;
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 18, 49, 0.96) 0%,
            rgba(8, 29, 73, 0.89) 34%,
            rgba(8, 35, 86, 0.58) 59%,
            rgba(4, 20, 53, 0.16) 100%
        ),
        url("/assets/images/webserverbackdrop.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(37, 99, 235, 0.16);
}

.fs-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), transparent 30%),
        linear-gradient(0deg, rgba(2, 10, 30, 0.28), transparent 28%);
}

.fs-home-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1240px, 92%);
}

.fs-home-hero-copy {
    width: min(680px, 100%);
}

.fs-home-overline {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
    color: rgba(226, 232, 240, 0.92);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.fs-home-overline span {
    width: 42px;
    height: 2px;
    display: block;
    background: #38bdf8;
}

.fs-home-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -3px;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.26);
}

.fs-home-hero h1 strong {
    display: block;
    margin-top: 8px;
    color: #8de7ff;
    font-weight: 800;
}

.fs-home-hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: #d9e7f7;
    font-size: 18px;
    line-height: 1.75;
}

.fs-home-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.fs-outline-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    background: rgba(5, 18, 49, 0.28);
    transition: 0.22s ease;
}

.fs-outline-button:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
}

.fs-home-trust-row {
    display: flex;
    align-items: stretch;
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.fs-home-trust-row > div {
    min-width: 130px;
    padding: 16px 24px 16px 0;
    margin-right: 24px;
    position: relative;
}

.fs-home-trust-row > div:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 32px;
    position: absolute;
    right: 0;
    top: 50%;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%);
}

.fs-home-trust-row strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
}

.fs-home-trust-row span {
    display: block;
    color: #b9c9dd;
    font-size: 12px;
    font-weight: 700;
}

/* Shared homepage sections */
.fs-home-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 88px 0;
}

.fs-section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.fs-section-heading-left {
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.fs-section-heading > p,
.fs-build-label {
    margin: 0 0 12px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.fs-section-heading h2,
.fs-build-content h2 {
    margin: 0;
    color: #102a56;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.fs-section-heading > div {
    margin-top: 15px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

/* Plan cards */
.fs-plans-section {
    background: #f7faff;
}

.fs-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.fs-plan-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #dce6f3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(16, 42, 86, 0.07);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.fs-plan-card:hover {
    transform: translateY(-5px);
    border-color: #b8cceb;
    box-shadow: 0 22px 46px rgba(16, 42, 86, 0.11);
}

.fs-plan-header {
    min-height: 104px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e6edf6;
}

.fs-plan-header h3 {
    margin: 0 0 9px;
    color: #102a56;
    font-size: 27px;
    line-height: 1.2;
}

.fs-plan-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.fs-plan-price {
    padding: 25px 0 22px;
}

.fs-old-price {
    display: block;
    margin-bottom: 5px;
    color: #8291a6;
    font-size: 16px;
    font-weight: 800;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.fs-plan-price > div {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    line-height: 1;
}

.fs-plan-price sup {
    padding-bottom: 11px;
    color: #1e40af;
    font-size: 22px;
    font-weight: 900;
}

.fs-plan-price strong {
    color: #1e40af;
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -2px;
}

.fs-plan-price small {
    padding-bottom: 9px;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
}

.fs-plan-price p {
    margin: 11px 0 0;
    color: #7a889c;
    font-size: 12px;
    line-height: 1.45;
}

.fs-plan-features {
    flex: 1;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e6edf6;
}

.fs-plan-features li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #e6edf6;
    color: #5f6f84;
    font-size: 14px;
}

.fs-plan-features li strong {
    color: #1f2f46;
    font-weight: 850;
    text-align: right;
}

.fs-plan-action {
    margin-top: auto;
}

/* Included features */
.fs-included-section {
    background: #ffffff;
}

.fs-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #dfe7f1;
    border-left: 1px solid #dfe7f1;
}

.fs-benefit-item {
    min-height: 230px;
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border-right: 1px solid #dfe7f1;
    border-bottom: 1px solid #dfe7f1;
    background: #ffffff;
}

.fs-benefit-item img {
    width: 106px;
    height: 106px;
    object-fit: contain;
    display: block;
}

.fs-benefit-item h3 {
    margin: 0 0 9px;
    color: #102a56;
    font-size: 21px;
    line-height: 1.3;
}

.fs-benefit-item p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* Website build section */
.fs-build-section {
    background: #eef5fc;
}

.fs-build-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 58px;
    align-items: center;
}

.fs-build-image img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 24px 30px rgba(16, 42, 86, 0.18));
}

.fs-build-content h2 {
    margin-bottom: 20px;
}

.fs-build-content > p {
    color: #5f6f84;
    font-size: 16px;
    line-height: 1.75;
}

.fs-build-lead {
    color: #233c65 !important;
    font-size: 19px !important;
    font-weight: 750;
}

.fs-build-pages {
    display: grid;
    gap: 0;
    margin: 25px 0;
    border-top: 1px solid #cad8e9;
}

.fs-build-pages > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 13px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #cad8e9;
}

.fs-build-pages span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.fs-build-pages strong {
    color: #172a49;
    font-size: 16px;
}

.fs-build-note {
    color: #75849a !important;
    font-size: 13px !important;
}

.fs-build-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 27px;
}

/* Process */
.fs-process-section {
    background: #ffffff;
}

.fs-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #dfe7f1;
    border-bottom: 1px solid #dfe7f1;
}

.fs-process-grid article {
    min-height: 230px;
    padding: 32px;
}

.fs-process-grid article + article {
    border-left: 1px solid #dfe7f1;
}

.fs-process-grid article > span {
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
}

.fs-process-grid h3 {
    margin: 22px 0 10px;
    color: #102a56;
    font-size: 23px;
}

.fs-process-grid p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* Final call to action */
.fs-home-final {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 58px 0;
    background: #102a56;
}

.fs-home-final-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.fs-home-final h2 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -1px;
}

.fs-home-final p {
    margin: 0;
    color: #c9d6e6;
    font-size: 16px;
}

.fs-home-final-inner > div:last-child {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.fs-final-outline {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border: 1px solid rgba(255,255,255,0.42);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
}

.fs-final-outline:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.10);
    border-color: #ffffff;
}

/* Homepage responsive */
@media (max-width: 1100px) {
.fs-home-hero {
        height: auto;
        min-height: calc(100svh - 64px);
        padding: 80px 0;
    }

    .fs-plan-grid {
        grid-template-columns: 1fr;
    }

    .fs-plan-header {
        min-height: auto;
    }

    .fs-build-grid {
        grid-template-columns: 1fr;
    }

    .fs-build-image {
        max-width: 820px;
        margin: 0 auto;
    }
}

@media (max-width: 820px) {
.fs-benefit-grid {
        grid-template-columns: 1fr;
    }

    .fs-process-grid {
        grid-template-columns: 1fr;
    }

    .fs-process-grid article + article {
        border-left: 0;
        border-top: 1px solid #dfe7f1;
    }

    .fs-home-final-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
.fs-home-hero {
        min-height: calc(100svh - 64px);
        padding: 60px 0;
        background-position: 64% center;
    }

    .fs-home-hero h1 {
        font-size: clamp(43px, 13vw, 62px);
        letter-spacing: -2px;
    }

    .fs-home-hero-lead {
        font-size: 16px;
    }

    .fs-home-trust-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .fs-home-trust-row > div {
        min-width: 0;
        margin: 0;
        padding: 15px 12px 15px 0;
    }

    .fs-home-trust-row > div::after {
        display: none;
    }

    .fs-home-section {
        padding: 62px 0;
    }

    .fs-benefit-item {
        min-height: auto;
        grid-template-columns: 82px 1fr;
        gap: 18px;
        padding: 25px;
    }

    .fs-benefit-item img {
        width: 76px;
        height: 76px;
    }
}

@media (max-width: 520px) {
.fs-home-overline {
        font-size: 11px;
        letter-spacing: 1.2px;
    }

    .fs-home-overline span {
        width: 28px;
    }

    .fs-home-hero-actions,
.fs-build-actions,
.fs-home-final-inner > div:last-child {
        display: grid;
        width: 100%;
    }

    .fs-home-hero-actions .btn,
.fs-home-hero-actions a,
.fs-build-actions .btn,
.fs-build-actions a,
.fs-home-final-inner .btn,
.fs-home-final-inner a {
        width: 100%;
    }

    .fs-benefit-item {
        grid-template-columns: 1fr;
    }

    .fs-plan-card {
        padding: 24px;
    }
}

/* =========================================================
   FOURSYS PREMIUM HEADER
   ========================================================= */

.fs-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 26px rgba(16, 42, 86, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.fs-site-header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.fs-site-brand {
    height: 72px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.fs-site-brand img {
    width: auto;
    height: 46px;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

.fs-site-navigation {
    min-width: 0;
    flex: 1;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fs-nav-primary,
.fs-nav-actions {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fs-nav-primary > a {
    height: 72px;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: #263a5a;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.fs-nav-primary > a::after {
    content: "";
    width: 0;
    height: 3px;
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 0;
    margin: auto;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #2563eb, #0891b2);
    transition: width 0.22s ease;
}

.fs-nav-primary > a:hover,
.fs-nav-primary > a.is-active {
    color: #1e40af;
}

.fs-nav-primary > a:hover::after,
.fs-nav-primary > a.is-active::after {
    width: calc(100% - 26px);
}

.fs-country-pill {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d7e3f5;
    border-radius: 999px;
    color: #263a5a;
    background: #f6f9fd;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.fs-country-pill img {
    width: 25px;
    height: 14px;
    display: block;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.fs-login-link {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #263a5a;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.fs-login-link:hover {
    color: #2563eb;
}

.fs-register-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(90deg, #2563eb, #0891b2);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.20);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.fs-register-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(37, 99, 235, 0.25);
}

/* Dropdowns */
.fs-nav-dropdown {
    position: relative;
}

.fs-nav-dropdown summary {
    list-style: none;
}

.fs-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.fs-nav-dropdown > summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border-radius: 12px;
    color: #263a5a;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    transition: 0.2s ease;
}

.fs-nav-dropdown > summary:hover,
.fs-nav-dropdown[open] > summary {
    color: #1e40af;
    background: #edf5ff;
}

.fs-dropdown-arrow {
    width: 7px;
    height: 7px;
    display: block;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.fs-nav-dropdown[open] .fs-dropdown-arrow {
    transform: rotate(225deg) translate(-1px, -1px);
}

.fs-dropdown-menu {
    min-width: 240px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 50;
    padding: 10px;
    border: 1px solid #dce6f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(16, 42, 86, 0.16);
    animation: fsHeaderDropdown 0.18s ease both;
}

.fs-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 25px;
    width: 12px;
    height: 12px;
    border-top: 1px solid #dce6f3;
    border-left: 1px solid #dce6f3;
    background: #ffffff;
    transform: rotate(45deg);
}

.fs-dropdown-heading {
    padding: 10px 11px 8px;
    color: #8795aa;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fs-dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #263a5a;
    font-size: 13px;
    font-weight: 850;
}

.fs-dropdown-menu a:hover {
    color: #1e40af;
    background: #edf5ff;
}

.fs-dropdown-menu a span,
.fs-dropdown-menu a small {
    display: block;
}

.fs-dropdown-menu a small {
    margin-top: 3px;
    color: #7a899d;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}

.fs-admin-dropdown {
    width: 330px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.fs-account-summary {
    padding: 5px 10px 5px 6px !important;
}

.fs-account-avatar {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    font-size: 13px;
    font-weight: 950;
}

.fs-account-name {
    max-width: 150px;
    display: grid;
    line-height: 1.15;
}

.fs-account-name small {
    margin-bottom: 3px;
    color: #8190a5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.fs-account-name strong {
    overflow: hidden;
    color: #263a5a;
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fs-account-menu {
    min-width: 220px;
}

.fs-dropdown-divider {
    height: 1px;
    margin: 7px 4px;
    background: #e3eaf3;
}

.fs-dropdown-menu .fs-logout-link {
    color: #b42318;
}

.fs-dropdown-menu .fs-logout-link:hover {
    color: #991b1b;
    background: #fff1f2;
}

/* Mobile navigation button */
.fs-mobile-nav-toggle {
    width: 44px;
    height: 44px;
    display: none;
    margin-left: auto;
    padding: 10px;
    border: 1px solid #d9e4f2;
    border-radius: 12px;
    background: #f6f9fd;
    cursor: pointer;
}

.fs-mobile-nav-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    margin: 4px auto;
    border-radius: 999px;
    background: #263a5a;
    transition: 0.22s ease;
}

.fs-mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.fs-mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.fs-mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@keyframes fsHeaderDropdown {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New header is 72px high */
.fs-home-hero {
    height: calc(100svh - 72px);
}

/* Responsive */
@media (max-width: 1080px) {
.fs-mobile-nav-toggle {
        display: block;
    }

    .fs-site-navigation {
        height: auto;
        max-height: calc(100vh - 90px);
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        overflow-y: auto;
        padding: 18px max(4%, 22px) 24px;
        border-bottom: 1px solid #dce6f3;
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 22px 40px rgba(16, 42, 86, 0.13);
    }

    .fs-site-navigation.is-open {
        display: block;
    }

    .fs-nav-primary,
.fs-nav-actions {
        width: 100%;
        height: auto;
        display: grid;
        gap: 7px;
    }

    .fs-nav-primary {
        padding-bottom: 15px;
        border-bottom: 1px solid #e3eaf3;
    }

    .fs-nav-actions {
        padding-top: 15px;
    }

    .fs-nav-primary > a,
.fs-login-link,
.fs-register-link,
.fs-country-pill,
.fs-nav-dropdown > summary {
        width: 100%;
        height: auto;
        min-height: 46px;
        justify-content: flex-start;
        padding: 11px 13px;
        border-radius: 10px;
    }

    .fs-nav-primary > a::after {
        display: none;
    }

    .fs-country-pill {
        order: 10;
    }

    .fs-nav-dropdown {
        width: 100%;
    }

    .fs-nav-dropdown > summary {
        justify-content: space-between;
    }

    .fs-account-summary {
        justify-content: flex-start !important;
    }

    .fs-account-summary .fs-dropdown-arrow {
        margin-left: auto;
    }

    .fs-account-name {
        max-width: none;
    }

    .fs-dropdown-menu,
.fs-admin-dropdown,
.fs-account-menu {
        width: 100%;
        min-width: 0;
        max-height: none;
        position: static;
        margin-top: 7px;
        border-radius: 12px;
        box-shadow: none;
        background: #f7faff;
    }

    .fs-dropdown-menu::before {
        display: none;
    }
}

@media (max-width: 560px) {
.fs-site-header,
.fs-site-header-inner {
        height: 66px;
    }

    .fs-site-brand {
        height: 66px;
    }

    .fs-site-brand img {
        height: 39px;
        max-width: 185px;
    }

    .fs-site-navigation {
        top: 66px;
        max-height: calc(100vh - 76px);
    }

    .fs-home-hero {
        height: auto;
        min-height: calc(100svh - 66px);
    }
}

/* =========================================================
   FOURSYS MULTI-WEBSITE UI
   Dashboard / All Websites / Website Manager
========================================================= */

.fsc-page-header,
.fsc-manager-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: 30px 0 26px;
}

.fsc-page-header > div:first-child,
.fsc-manager-header > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.fsc-page-header h1,
.fsc-manager-header h1 {
    margin: 5px 0 8px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    color: #14213d;
}

.fsc-page-header-actions,
.fsc-manager-nav {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.fsc-page-header-actions .btn,
.fsc-manager-nav .btn {
    width: auto;
    min-width: max-content;
    white-space: nowrap;
}

.fsc-page-header-actions form,
.fsc-manager-nav form,
.fsc-hosting-account-actions form,
.fsc-manager-actions form,
.fsc-full-website-actions form {
    margin: 0;
}

.fsc-page-header-actions form,
.fsc-manager-nav form {
    display: inline-flex;
    width: auto;
}

.fsc-page-header-actions form .btn,
.fsc-manager-nav form .btn {
    width: auto;
}

.fsc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.fsc-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.fsc-breadcrumb a:hover {
    text-decoration: underline;
}

/* =========================================================
   DASHBOARD STATS
========================================================= */

.fsc-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 34px;
}

.fsc-dashboard-stat {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #dbe5f5;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.fsc-dashboard-stat span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fsc-dashboard-stat strong {
    display: block;
    color: #14213d;
    font-size: 30px;
    line-height: 1;
}

.fsc-dashboard-stat small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 12px;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.fsc-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 18px;
}

.fsc-section-heading h2 {
    margin: 4px 0 4px;
    color: #14213d;
    font-size: 27px;
}

.fsc-billing-heading {
    margin-top: 42px;
}

/* =========================================================
   HOSTING ACCOUNT
========================================================= */

.fsc-hosting-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.fsc-hosting-account {
    width: 100%;
    padding: 26px;
    border: 1px solid #d5e1f4;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at top right,
            rgba(6, 182, 212, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 100%
        );
    box-shadow: 0 16px 45px rgba(30, 64, 175, 0.08);
}

.fsc-hosting-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.fsc-hosting-account-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.fsc-hosting-account-identity h2 {
    margin: 3px 0;
    color: #16213d;
    font-size: 25px;
}

.fsc-hosting-account-identity p {
    margin: 0;
    color: #64748b;
    font-weight: 800;
    word-break: break-word;
}

.fsc-mini-label,
.fsc-card-kicker {
    display: block;
    color: #0891b2;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fsc-hosting-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.fsc-hosting-metrics > div {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid #dde7f5;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
}

.fsc-hosting-metrics span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fsc-hosting-metrics strong {
    display: block;
    color: #17213c;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.fsc-account-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 14px;
}

.fsc-account-section-heading span {
    color: #0284a8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.fsc-account-section-heading p {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 13px;
}

/* =========================================================
   DASHBOARD WEBSITE CARDS
========================================================= */

.fsc-dashboard-website-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fsc-dashboard-website {
    min-width: 0;
    padding: 18px;
    border: 1px solid #dbe4f3;
    border-radius: 20px;
    background: #ffffff;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.fsc-dashboard-website:hover {
    transform: translateY(-2px);
    border-color: #b9cdf5;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.fsc-dashboard-website-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fsc-dashboard-website-top small {
    display: block;
    margin-top: 5px;
    color: #718096;
    font-size: 11px;
    font-weight: 700;
}

.fsc-website-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #52617c;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fsc-website-number > span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f2ff;
    color: #2563eb;
    font-size: 9px;
}

.fsc-dashboard-website-domain {
    padding: 17px 0 16px;
}

.fsc-dashboard-website-domain strong {
    display: block;
    color: #13203a;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.fsc-dashboard-website-domain span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
}

.fsc-dashboard-website-actions,
.fsc-full-website-actions,
.fsc-manager-actions,
.fsc-hosting-account-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fsc-dashboard-website-actions .btn {
    flex: 1 1 145px;
    justify-content: center;
}

.fsc-hosting-account-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e1e9f4;
}

.fsc-slot-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #eef5ff;
    color: #50617a;
    white-space: nowrap;
}

.fsc-slot-summary strong {
    color: #2563eb;
}

.fsc-slot-summary span {
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   ALL WEBSITES PAGE
========================================================= */

.fsc-website-page-metrics {
    margin-bottom: 32px;
}

.fsc-all-websites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fsc-full-website-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid #d9e4f3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.fsc-full-website-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fsc-full-website-header small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
}

.fsc-full-website-domain {
    padding: 18px 0;
    border-bottom: 1px solid #edf1f7;
}

.fsc-full-website-domain strong {
    color: #14213d;
    font-size: 19px;
    overflow-wrap: anywhere;
}

.fsc-full-website-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 0;
}

.fsc-full-website-details > div {
    min-width: 0;
}

.fsc-full-website-details span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsc-full-website-details strong {
    color: #334155;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.fsc-website-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #dce5f2;
    border-radius: 20px;
    background: #ffffff;
}

.fsc-website-page-footer > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsc-website-page-footer strong {
    color: #2563eb;
    font-size: 22px;
}

.fsc-website-page-footer span {
    color: #64748b;
    font-weight: 700;
}

/* =========================================================
   WEBSITE MANAGER
========================================================= */

.fsc-manager-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fsc-manager-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dbe4f1;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.fsc-manager-card-wide {
    grid-column: 1 / -1;
}

.fsc-manager-card-warning {
    border-color: #f4cf77;
    background: #fffdf7;
}

.fsc-manager-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.fsc-manager-card-header h2 {
    margin: 4px 0 0;
    color: #14213d;
    font-size: 22px;
}

.fsc-manager-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.fsc-manager-details > div,
.fsc-manager-tool-list > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e1e8f3;
    border-radius: 15px;
    background: #f9fbfe;
}

.fsc-manager-details span,
.fsc-manager-tool-list span {
    display: block;
    margin-bottom: 5px;
    color: #8190a7;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fsc-manager-details strong,
.fsc-manager-tool-list strong {
    color: #26354d;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.fsc-manager-tool-list {
    display: grid;
    gap: 10px;
}

.fsc-manager-actions {
    margin-top: 20px;
}

.fsc-check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
}

.fsc-check-list span {
    position: relative;
    padding: 11px 12px 11px 38px;
    border-radius: 12px;
    background: #f2f8ff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.fsc-check-list span::before {
    content: "✓";
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 900;
}

.fsc-break-text {
    overflow-wrap: anywhere;
}

.fsc-nameserver-list {
    display: grid;
    gap: 8px;
    margin-top: 15px;
}

.fsc-nameserver-list code {
    padding: 11px 13px;
    border-radius: 10px;
    background: #edf4ff;
    color: #1e3a8a;
}

/* =========================================================
   PASSWORD / COPY FIELDS
========================================================= */

.fsc-copy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fsc-secret-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    align-items: center;
}

.fsc-secret-field input {
    min-width: 0;
    width: 100%;
}

.fsc-copy-button,
.fsc-secret-toggle {
    border: 1px solid #ccdaed;
    border-radius: 9px;
    padding: 7px 10px;
    background: #ffffff;
    color: #31527e;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.fsc-copy-button:hover,
.fsc-secret-toggle:hover {
    border-color: #8bb0e9;
    background: #f2f7ff;
}

/* =========================================================
   DANGER ZONE
========================================================= */

.fsc-danger-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 26px;
    align-items: center;
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #fecaca;
    border-radius: 22px;
    background: #fffafa;
}

.fsc-danger-kicker {
    display: block;
    margin-bottom: 6px;
    color: #dc2626;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fsc-danger-card h2 {
    margin: 0 0 8px;
    color: #7f1d1d;
}

.fsc-danger-card p {
    margin: 4px 0;
    color: #7c4a4a;
}

.fsc-danger-card form {
    display: grid;
    gap: 10px;
}

.fsc-danger-card label {
    color: #713f3f;
    font-size: 13px;
}

.fsc-danger-card input {
    width: 100%;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
.fsc-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fsc-hosting-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fsc-manager-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
.fsc-page-header,
.fsc-manager-header,
.fsc-hosting-account-header,
.fsc-hosting-account-footer,
.fsc-section-heading,
.fsc-website-page-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .fsc-page-header-actions,
.fsc-manager-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .fsc-dashboard-website-grid,
.fsc-all-websites-grid,
.fsc-manager-grid {
        grid-template-columns: 1fr;
    }

    .fsc-manager-card-wide {
        grid-column: auto;
    }

    .fsc-danger-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
.fsc-dashboard-stats,
.fsc-hosting-metrics,
.fsc-manager-details,
.fsc-full-website-details {
        grid-template-columns: 1fr;
    }

    .fsc-hosting-account {
        padding: 18px;
        border-radius: 20px;
    }

    .fsc-dashboard-website-actions .btn,
.fsc-hosting-account-actions .btn,
.fsc-manager-actions .btn,
.fsc-full-website-actions .btn {
        width: 100%;
        flex: 1 1 100%;
        justify-content: center;
    }

    .fsc-hosting-account-actions form,
.fsc-hosting-account-actions form button,
.fsc-manager-actions form,
.fsc-manager-actions form button {
        width: 100%;
    }

    .fsc-secret-field {
        grid-template-columns: 1fr 1fr;
    }

    .fsc-secret-field input {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   ADDITIONAL WEBSITE SETUP
   Dedicated UI - does not reuse hosting-service-card
========================================================= */

.fsc-setup-section {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid #dbe5f3;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.fsc-setup-section-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.fsc-setup-step-number {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
    font-size: 16px;
    font-weight: 950;
}

.fsc-setup-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fsc-setup-section-head h2,
.fsc-setup-subsection-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 25px;
    line-height: 1.2;
}

.fsc-setup-section-head p,
.fsc-setup-subsection-head p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.fsc-setup-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fsc-setup-option {
    position: relative;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 1px solid #d7e3f2;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at top right,
            rgba(8, 145, 178, 0.07),
            transparent 38%
        ),
        #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.fsc-setup-option:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
}

.fsc-setup-option.is-selected {
    border-color: rgba(37, 99, 235, 0.72);
    background:
        radial-gradient(
            circle at top right,
            rgba(8, 145, 178, 0.12),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f1f7ff
        );
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08),
        0 16px 36px rgba(37, 99, 235, 0.10);
}

.fsc-setup-option-featured {
    border-color: rgba(8, 145, 178, 0.32);
}

.fsc-setup-option-disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.fsc-setup-option-disabled:hover {
    transform: none;
    box-shadow: none;
}

.fsc-setup-radio {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    accent-color: var(--blue);
    cursor: pointer;
}

.fsc-setup-option-body {
    padding: 22px;
}

.fsc-setup-option-title {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    padding-right: 38px;
}

.fsc-setup-option-icon,
.fsc-setup-option-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #cbdcf4;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    color: var(--blue);
    font-size: 20px;
    font-weight: 950;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.fsc-setup-option-logo img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.fsc-setup-option-title h3 {
    margin: 1px 0 6px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.25;
}

.fsc-setup-option-title p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.fsc-setup-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fsc-setup-title-row h3 {
    margin-right: 4px;
}

.fsc-setup-new-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #047857;
    background: #d1fae5;
    font-size: 9px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fsc-setup-option-note {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(20, 184, 166, 0.20);
    border-radius: 13px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.fsc-setup-option-note strong {
    color: #065f46;
}

.fsc-setup-option-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.fsc-setup-option-meta > div {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    background: #f8fbff;
}

.fsc-setup-option-meta span {
    display: block;
    margin-bottom: 3px;
    color: #8291a8;
    font-size: 9px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fsc-setup-option-meta strong {
    display: block;
    color: #334155;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.fsc-setup-option-warning {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

/* Subsections */

.fsc-setup-subsection {
    border-color: #cadbf0;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f9fcff
        );
}

.fsc-setup-subsection-head {
    margin-bottom: 22px;
}

.fsc-setup-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* New Domain Search */

.fsc-domain-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.fsc-domain-search .form-group {
    margin-bottom: 0;
}

.fsc-domain-search .btn {
    min-width: 190px;
}

.fsc-domain-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    padding: 15px 17px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.fsc-domain-result strong {
    font-size: 14px;
}

.fsc-domain-result span {
    font-weight: 900;
    white-space: nowrap;
}

.fsc-domain-result.is-checking {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.fsc-domain-result.is-available {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.fsc-domain-result.is-unavailable,
.fsc-domain-result.is-error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.fsc-domain-suggestions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5ebf3;
}

.fsc-domain-suggestions-head h3 {
    margin: 3px 0 14px;
    color: var(--text);
}

.fsc-domain-suggestion-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.fsc-domain-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #d7e3f2;
    border-radius: 13px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.fsc-domain-suggestion:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.42);
    background: #f5f9ff;
}

.fsc-domain-suggestion strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.fsc-domain-suggestion span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

/* Payment Note */

.fsc-setup-payment-note {
    margin-bottom: 20px;
    padding: 17px 18px;
    border: 1px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 15px;
    background: #fffbeb;
    color: #78350f;
}

.fsc-setup-payment-note strong {
    display: block;
    margin-bottom: 6px;
    color: #92400e;
    font-size: 14px;
}

.fsc-setup-payment-note p {
    margin: 4px 0;
    font-size: 13px;
    line-height: 1.55;
}

.fsc-setup-final-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 900px) {
.fsc-setup-option-grid {
        grid-template-columns: 1fr;
    }

    .fsc-domain-suggestion-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
.fsc-setup-section {
        padding: 20px;
        border-radius: 20px;
    }

    .fsc-setup-fields-grid,
.fsc-domain-search,
.fsc-domain-suggestion-list {
        grid-template-columns: 1fr;
    }

    .fsc-domain-search .btn {
        width: 100%;
        min-width: 0;
    }

    .fsc-domain-result {
        align-items: flex-start;
        flex-direction: column;
    }

    .fsc-setup-option-meta {
        grid-template-columns: 1fr;
    }

    .fsc-setup-final-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .fsc-setup-final-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
.fsc-setup-option-title {
        grid-template-columns: 42px minmax(0, 1fr);
        padding-right: 30px;
    }

    .fsc-setup-option-icon,
.fsc-setup-option-logo {
        width: 42px;
        height: 42px;
    }

    .fsc-setup-option-body {
        padding: 18px;
    }
}

/* =========================================================
   MY DOMAINS
   ========================================================= */

.fsc-domain-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.fsc-domain-stat-card {
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.fsc-domain-stat-card span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.fsc-domain-stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
}

.fsc-domain-info-alert {
    margin-bottom: 24px;
}

.fsc-domain-grid {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.fsc-domain-card {
    overflow: hidden;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.fsc-domain-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #eef2f7;
}

.fsc-domain-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.fsc-domain-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    color: #0369a1;
    font-size: 28px;
    font-weight: 900;
}

.fsc-domain-identity h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 21px;
    overflow-wrap: anywhere;
}

.fsc-domain-reference {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.fsc-domain-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.fsc-domain-source,
.fsc-domain-status,
.fsc-domain-test-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.fsc-domain-source.is-foursys {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.fsc-domain-source.is-external {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.fsc-domain-source.is-legacy {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.fsc-domain-status.is-good {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.fsc-domain-status.is-warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.fsc-domain-test-badge {
    background: #fdf4ff;
    color: #a21caf;
    border: 1px solid #f5d0fe;
}

.fsc-domain-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.fsc-domain-details > div {
    padding: 18px 22px;
    background: #f8fafc;
}

.fsc-domain-details span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.fsc-domain-details strong {
    color: #0f172a;
    font-size: 14px;
}

.fsc-domain-attachments {
    padding: 24px;
}

.fsc-domain-attachments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.fsc-domain-attachments-head h3 {
    margin: 3px 0 0;
    color: #0f172a;
}

.fsc-domain-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 900;
}

.fsc-domain-unattached {
    padding: 18px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
}

.fsc-domain-unattached strong {
    display: block;
    margin-bottom: 5px;
    color: #334155;
}

.fsc-domain-unattached p {
    margin: 0;
    color: #64748b;
}

.fsc-domain-website-list {
    display: grid;
    gap: 12px;
}

.fsc-domain-website {
    display: grid;
    grid-template-columns: minmax(180px, 1.3fr) minmax(220px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.fsc-domain-website-main {
    min-width: 0;
}

.fsc-domain-website-main strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.fsc-domain-website-main span {
    color: #64748b;
    font-size: 12px;
}

.fsc-domain-website-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fsc-domain-website-meta span {
    padding: 5px 8px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.fsc-domain-website-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.fsc-domain-empty {
    margin-top: 24px;
    padding: 44px 24px;
    text-align: center;
}

.fsc-domain-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: #eff6ff;
    color: #0369a1;
    font-size: 38px;
}

.fsc-domain-empty h2 {
    margin-bottom: 8px;
}

.fsc-domain-empty .btn {
    margin-top: 14px;
}

/* =========================================================
   MY DOMAINS - RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
.fsc-domain-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fsc-domain-website {
        grid-template-columns: 1fr 1fr;
    }

    .fsc-domain-website-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
.fsc-domain-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fsc-domain-card-head {
        flex-direction: column;
    }

    .fsc-domain-badges {
        justify-content: flex-start;
    }

    .fsc-domain-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fsc-domain-website {
        grid-template-columns: 1fr;
    }

    .fsc-domain-website-actions {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
.fsc-domain-stats {
        grid-template-columns: 1fr;
    }

    .fsc-domain-details {
        grid-template-columns: 1fr;
    }

    .fsc-domain-identity {
        align-items: flex-start;
    }

    .fsc-domain-website-actions {
        flex-direction: column;
    }

    .fsc-domain-website-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   MANAGE DOMAIN
   ========================================================= */

.fsc-domain-card-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 24px 24px;
}

.fsc-domain-manage-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.fsc-domain-manage-identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.fsc-domain-manage-identity h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 24px;
    overflow-wrap: anywhere;
}

.fsc-domain-manage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 24px 0;
}

.fsc-domain-manage-card {
    margin-top: 22px;
}

.fsc-domain-manage-grid .fsc-domain-manage-card {
    margin-top: 0;
}

.fsc-domain-manage-card h2 {
    margin-top: 5px;
}

.fsc-domain-manage-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.fsc-domain-manage-details > div {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.fsc-domain-manage-details span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.fsc-domain-manage-details strong {
    color: #0f172a;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.fsc-domain-usage-card {
    margin-top: 24px;
}

@media (max-width: 850px) {
.fsc-domain-manage-grid {
        grid-template-columns: 1fr;
    }

    .fsc-domain-manage-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .fsc-domain-manage-summary .fsc-domain-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
.fsc-domain-manage-details {
        grid-template-columns: 1fr;
    }

    .fsc-domain-card-actions {
        justify-content: stretch;
    }

    .fsc-domain-card-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   DOMAIN ASSET ATTACHMENT
   ========================================================= */

.fsc-domain-attach-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.fsc-domain-attach-alert {
    margin-bottom: 24px;
}

.fsc-domain-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fsc-domain-slot-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.fsc-domain-slot-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.fsc-domain-slot-card-body {
    height: 100%;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.fsc-domain-slot-card:hover .fsc-domain-slot-card-body {
    border-color: #bfdbfe;
    box-shadow: 0 14px 32px rgba(30, 64, 175, 0.08);
    transform: translateY(-1px);
}

.fsc-domain-slot-card.is-selected .fsc-domain-slot-card-body {
    border-color: #2563eb;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eff6ff
        );
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.12);
}

.fsc-domain-slot-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fsc-domain-slot-top > div > span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.fsc-domain-slot-top h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
}

.fsc-domain-slot-available {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
}

.fsc-domain-slot-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.fsc-domain-slot-details > div {
    min-width: 0;
    padding: 11px;
    border-radius: 12px;
    background: #f8fafc;
}

.fsc-domain-slot-details span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.fsc-domain-slot-details strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.fsc-domain-slot-warning {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #fde68a;
    border-radius: 10px;
    background: #fffbeb;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
}

.fsc-domain-action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #f0fdf4,
            #f0fdfa
        );
}

.fsc-domain-action-panel strong {
    display: block;
    margin-bottom: 5px;
    color: #166534;
    font-size: 16px;
}

.fsc-domain-action-panel p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.fsc-domain-no-slots {
    margin-top: 24px;
    padding: 36px 24px;
    text-align: center;
}

.fsc-domain-service-links {
    display: grid;
    gap: 10px;
    max-width: 700px;
    margin: 24px auto 0;
    text-align: left;
}

.fsc-domain-service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.fsc-domain-service-link strong {
    display: block;
    margin-bottom: 3px;
    color: #0f172a;
}

.fsc-domain-service-link span {
    color: #64748b;
    font-size: 12px;
}

.fsc-domain-no-slots-actions {
    margin-top: 20px;
}

/* =========================================================
   DOMAIN ASSET ATTACHMENT - RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
.fsc-domain-slot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
.fsc-domain-attach-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .fsc-domain-slot-details {
        grid-template-columns: 1fr;
    }

    .fsc-domain-action-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .fsc-domain-action-panel .btn {
        width: 100%;
        text-align: center;
    }

    .fsc-domain-service-link {
        align-items: stretch;
        flex-direction: column;
    }

    .fsc-domain-service-link .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   DOMAIN RENEWAL
   ========================================================= */

.fsc-domain-renew-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.fsc-domain-renew-main,
.fsc-domain-renew-summary,
.fsc-domain-renew-history {
    min-width: 0;
}

.fsc-domain-renew-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 22px;
}

.fsc-domain-renew-details > div {
    min-width: 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.fsc-domain-renew-details span {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fsc-domain-renew-details strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.fsc-domain-renew-price {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #f8fbff;
    text-align: center;
}

.fsc-domain-renew-price span {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.fsc-domain-renew-price strong {
    display: block;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.15;
}

.fsc-domain-renew-price small {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
}

.fsc-domain-renew-summary-lines {
    display: grid;
    gap: 0;
    margin-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.fsc-domain-renew-summary-lines > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #e2e8f0;
}

.fsc-domain-renew-summary-lines span {
    color: #64748b;
    font-size: 13px;
}

.fsc-domain-renew-summary-lines strong {
    color: #0f172a;
    text-align: right;
}

.fsc-domain-renew-form {
    margin-top: 20px;
}

.fsc-domain-renew-form .btn,
.fsc-domain-renew-summary > .btn {
    width: 100%;
}

.fsc-domain-renew-note {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.fsc-domain-renew-history {
    margin-top: 24px;
}

.fsc-domain-action-buttons {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
.fsc-domain-renew-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
.fsc-domain-renew-details {
        grid-template-columns: 1fr;
    }

    .fsc-domain-action-buttons,
.fsc-domain-action-buttons .btn {
        width: 100%;
    }
}

/* =========================================================
   ADMIN DOMAIN RENEWALS
========================================================= */

.fsc-renewal-filter-card {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 22px;
}

.fsc-renewal-filter-form {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(190px, 240px) auto;
    gap: 16px;
    align-items: end;
}

.fsc-renewal-filter-form .form-group {
    margin: 0;
}

.fsc-renewal-filter-form label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.fsc-renewal-filter-form input,
.fsc-renewal-filter-form select {
    width: 100%;
}

.fsc-renewal-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fsc-renewal-card {
    padding: 0;
    overflow: hidden;
}

.fsc-renewal-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.fsc-renewal-table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
}

.fsc-renewal-table th,
.fsc-renewal-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.fsc-renewal-table th {
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fsc-renewal-table tbody tr:last-child td {
    border-bottom: 0;
}

.fsc-renewal-table td > strong {
    display: block;
    color: #111827;
    font-size: 14px;
    line-height: 1.45;
}

.fsc-renewal-table td > small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.fsc-renewal-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.fsc-renewal-status.is-pending {
    background: #f1f5f9;
    color: #475569;
}

.fsc-renewal-status.is-awaiting {
    background: #fff7ed;
    color: #c2410c;
}

.fsc-renewal-status.is-processing {
    background: #eff6ff;
    color: #1d4ed8;
}

.fsc-renewal-status.is-completed {
    background: #ecfdf5;
    color: #047857;
}

.fsc-renewal-status.is-failed {
    background: #fef2f2;
    color: #b91c1c;
}

.fsc-renewal-status.is-cancelled {
    background: #f8fafc;
    color: #64748b;
}

.fsc-renewal-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 155px;
}

.fsc-renewal-actions form {
    margin: 0;
}

.fsc-renewal-actions .btn {
    white-space: nowrap;
}

.fsc-renewal-action-done {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 800;
}

.fsc-renewal-error {
    max-width: 260px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 11px;
    line-height: 1.45;
}

.fsc-renewal-empty {
    padding: 32px;
    text-align: center;
}

.fsc-renewal-empty h2 {
    margin-top: 0;
}

@media (max-width: 900px) {
.fsc-renewal-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .fsc-renewal-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
.fsc-renewal-filter-form {
        grid-template-columns: 1fr;
    }

    .fsc-renewal-filter-actions {
        grid-column: auto;
    }
}

/* =========================================================
   CLIENT DASHBOARD - DOMAIN SUMMARY
========================================================= */

.fsc-dashboard-domain-heading {
    margin-top: 34px;
}

.fsc-dashboard-domain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.fsc-dashboard-domain-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    min-width: 0;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.fsc-dashboard-domain-card:hover {
    border-color: rgba(8, 145, 178, 0.32);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.fsc-dashboard-domain-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fsc-dashboard-domain-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.fsc-dashboard-domain-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.12),
        rgba(8, 145, 178, 0.10)
    );
    border: 1px solid rgba(8, 145, 178, 0.18);
    color: var(--cyan);
    font-size: 24px;
    font-weight: 800;
}

.fsc-dashboard-domain-identity > div:last-child {
    min-width: 0;
}

.fsc-dashboard-domain-identity span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.fsc-dashboard-domain-identity h3 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fsc-dashboard-domain-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.fsc-dashboard-domain-status.is-good {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.fsc-dashboard-domain-status.is-neutral {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.fsc-dashboard-domain-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.fsc-dashboard-domain-dates > div {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.fsc-dashboard-domain-dates span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.fsc-dashboard-domain-dates strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.fsc-dashboard-domain-expiry {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.fsc-dashboard-domain-expiry.is-good {
    color: #166534;
    background: #dcfce7;
}

.fsc-dashboard-domain-expiry.is-warning {
    color: #92400e;
    background: #fef3c7;
}

.fsc-dashboard-domain-expiry.is-danger {
    color: #991b1b;
    background: #fee2e2;
}

.fsc-dashboard-domain-expiry.is-neutral {
    color: #475569;
    background: #f1f5f9;
}

.fsc-dashboard-domain-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.fsc-dashboard-domain-empty {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    padding: 22px;
}

.fsc-dashboard-domain-empty > div:first-child {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(8, 145, 178, 0.09);
    color: var(--cyan);
    font-size: 26px;
}

.fsc-dashboard-domain-empty h3 {
    margin: 0 0 5px;
}

.fsc-dashboard-domain-empty p {
    margin: 0;
}

@media (max-width: 900px) {
.fsc-dashboard-domain-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
.fsc-dashboard-domain-card {
        padding: 18px;
        border-radius: 18px;
    }

    .fsc-dashboard-domain-card-head {
        flex-direction: column;
    }

    .fsc-dashboard-domain-dates {
        grid-template-columns: 1fr;
    }

    .fsc-dashboard-domain-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fsc-dashboard-domain-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .fsc-dashboard-domain-empty {
        align-items: flex-start;
    }
}

/* =========================================================
   COLORFUL UI ACCENTS
========================================================= */

:root {
    --teal: #0f766e;
    --teal-bright: #14b8a6;
    --amber: #f59e0b;
    --pink: #db2777;
    --indigo: #4f46e5;
    --violet: #7c3aed;
}

/* Dashboard statistics use different accents for faster scanning. */
.fsc-dashboard-stat {
    isolation: isolate;
}

.fsc-dashboard-stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 20px 0 0 20px;
    background: var(--blue);
}

.fsc-dashboard-stat:nth-child(1) {
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    border-color: rgba(37, 99, 235, 0.24);
}

.fsc-dashboard-stat:nth-child(1)::before {
    background: linear-gradient(180deg, #2563eb, #60a5fa);
}

.fsc-dashboard-stat:nth-child(1) strong {
    color: #1d4ed8;
}

.fsc-dashboard-stat:nth-child(2) {
    background: linear-gradient(145deg, #ffffff, #ecfeff);
    border-color: rgba(8, 145, 178, 0.24);
}

.fsc-dashboard-stat:nth-child(2)::before {
    background: linear-gradient(180deg, #0891b2, #22d3ee);
}

.fsc-dashboard-stat:nth-child(2) strong {
    color: #0e7490;
}

.fsc-dashboard-stat:nth-child(3) {
    background: linear-gradient(145deg, #ffffff, #f5f3ff);
    border-color: rgba(124, 58, 237, 0.22);
}

.fsc-dashboard-stat:nth-child(3)::before {
    background: linear-gradient(180deg, #7c3aed, #a78bfa);
}

.fsc-dashboard-stat:nth-child(3) strong {
    color: #6d28d9;
}

.fsc-dashboard-stat:nth-child(4) {
    background: linear-gradient(145deg, #ffffff, #ecfdf5);
    border-color: rgba(22, 163, 74, 0.22);
}

.fsc-dashboard-stat:nth-child(4)::before {
    background: linear-gradient(180deg, #16a34a, #4ade80);
}

.fsc-dashboard-stat:nth-child(4) strong {
    color: #15803d;
}

.fsc-dashboard-stat:nth-child(5) {
    background: linear-gradient(145deg, #ffffff, #fff7ed);
    border-color: rgba(245, 158, 11, 0.28);
}

.fsc-dashboard-stat:nth-child(5)::before {
    background: linear-gradient(180deg, #f59e0b, #fb923c);
}

.fsc-dashboard-stat:nth-child(5) strong {
    color: #c2410c;
}

/* Domain cards get subtle rotating accent colors. */
.fsc-dashboard-domain-card {
    position: relative;
    overflow: hidden;
}

.fsc-dashboard-domain-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.fsc-dashboard-domain-card:nth-child(4n + 2)::before {
    background: linear-gradient(90deg, #7c3aed, #db2777);
}

.fsc-dashboard-domain-card:nth-child(4n + 3)::before {
    background: linear-gradient(90deg, #16a34a, #14b8a6);
}

.fsc-dashboard-domain-card:nth-child(4n + 4)::before {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.fsc-dashboard-domain-card:nth-child(4n + 2) .fsc-dashboard-domain-icon {
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.20);
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
}

.fsc-dashboard-domain-card:nth-child(4n + 3) .fsc-dashboard-domain-icon {
    color: #15803d;
    border-color: rgba(22, 163, 74, 0.20);
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

.fsc-dashboard-domain-card:nth-child(4n + 4) .fsc-dashboard-domain-icon {
    color: #c2410c;
    border-color: rgba(245, 158, 11, 0.24);
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

/* Hosting account cards use a soft colored top accent. */
.fsc-hosting-account {
    position: relative;
    overflow: hidden;
}

.fsc-hosting-account::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0891b2);
}

.fsc-hosting-account:nth-child(3n + 2)::before {
    background: linear-gradient(90deg, #7c3aed, #db2777);
}

.fsc-hosting-account:nth-child(3n + 3)::before {
    background: linear-gradient(90deg, #16a34a, #14b8a6);
}

/* Website cards are easier to distinguish without becoming visually noisy. */
.fsc-dashboard-website:nth-child(3n + 1) {
    background: linear-gradient(145deg, #ffffff, #f4f8ff);
}

.fsc-dashboard-website:nth-child(3n + 2) {
    background: linear-gradient(145deg, #ffffff, #f7f3ff);
}

.fsc-dashboard-website:nth-child(3n + 3) {
    background: linear-gradient(145deg, #ffffff, #f0fdfa);
}

/* Domain renewal is intentionally purple/pink so it stands apart from hosting renewal. */
.btn-domain-renew {
    color: #ffffff;
    background: linear-gradient(90deg, #7c3aed, #db2777);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.26);
}

.btn-domain-renew:hover,
.btn-domain-renew:focus {
    color: #ffffff;
    background: linear-gradient(90deg, #6d28d9, #be185d);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(190, 24, 93, 0.30);
}

/* Domain renewal links elsewhere keep the same visual language. */
a.btn[href*="/client/domains/"][href*="/renew"] {
    color: #ffffff;
    background: linear-gradient(90deg, #7c3aed, #db2777);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.26);
}

a.btn[href*="/client/domains/"][href*="/renew"]:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #6d28d9, #be185d);
    box-shadow: 0 16px 34px rgba(190, 24, 93, 0.30);
}

/* =========================================================
   FOURSYS - HOSTINGER STYLE WEBSITE MANAGER
   manage_website.php
========================================================= */

.fsh-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 0 55px;
    color: #1f2937;
}

.fsh-page * {
    box-sizing: border-box;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.fsh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 13px;
}

.fsh-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.fsh-breadcrumb a:hover {
    color: #2563eb;
}

.fsh-breadcrumb strong {
    color: #334155;
}

/* =========================================================
   PAGE HEADER
========================================================= */

.fsh-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.fsh-page-header-main {
    min-width: 0;
}

.fsh-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.fsh-page-header h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.fsh-page-header p {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
}

.fsh-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* =========================================================
   BUTTONS
========================================================= */

.fsh-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.fsh-btn:hover {
    transform: translateY(-1px);
}

.fsh-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.fsh-btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff !important;
}

.fsh-btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
}

.fsh-btn-secondary {
    background: #ffffff;
    border-color: #d8e0eb;
    color: #334155 !important;
}

.fsh-btn-secondary:hover {
    background: #f8fafc;
    border-color: #b9c7da;
    color: #1e293b !important;
}

.fsh-btn-success {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff !important;
}

.fsh-btn-success:hover {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff !important;
}

.fsh-btn-danger {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff !important;
}

.fsh-btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff !important;
}

/* =========================================================
   CARDS
========================================================= */

.fsh-card {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.02),
        0 8px 24px rgba(15, 23, 42, 0.035);
}

.fsh-card + .fsh-card {
    margin-top: 24px;
}

.fsh-card-header {
    min-height: 63px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid #e8edf3;
}

.fsh-card-header h2 {
    margin: 0;
    color: #111827;
    font-size: 17px;
    line-height: 1.3;
}

.fsh-card-header p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.fsh-card-body {
    padding: 22px;
}

.fsh-card-footer {
    padding: 17px 22px;
    border-top: 1px solid #e8edf3;
    background: #fafbfc;
}

.fsh-card-alert-area {
    padding: 20px 22px 0;
}

/* =========================================================
   STATUS BADGES
========================================================= */

.fsh-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fsh-status-active {
    color: #166534;
    background: #dcfce7;
}

.fsh-status-inactive {
    color: #991b1b;
    background: #fee2e2;
}

.fsh-status-pending {
    color: #92400e;
    background: #fef3c7;
}

/* =========================================================
   WEBSITE OVERVIEW
========================================================= */

.fsh-overview-card {
    margin-bottom: 34px;
}

.fsh-overview-list {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}

.fsh-overview-item {
    min-width: 0;
    padding: 22px;
    border-right: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.fsh-overview-item:nth-child(3n) {
    border-right: 0;
}

.fsh-overview-label {
    display: block;
    margin-bottom: 7px;
    color: #7c8a9d;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.fsh-overview-value {
    display: block;
    color: #1e293b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* =========================================================
   ACTIONS
========================================================= */

.fsh-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fsh-actions form {
    margin: 0;
}

/* =========================================================
   SECTION TITLES
========================================================= */

.fsh-section-title {
    margin: 40px 0 18px;
}

.fsh-section-title h2 {
    margin: 0;
    color: #111827;
    font-size: 21px;
}

.fsh-section-title p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
}

/* =========================================================
   SSH LAYOUT
========================================================= */

.fsh-ssh-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.8fr)
        minmax(300px, 0.85fr);
    gap: 26px;
    align-items: stretch;
}

.fsh-ssh-grid > .fsh-card {
    margin: 0;
}

/* =========================================================
   DETAIL ROWS
========================================================= */

.fsh-detail-list {
    padding: 0 22px;
}

.fsh-detail-row {
    min-height: 65px;
    display: grid;
    grid-template-columns:
        minmax(120px, 0.7fr)
        minmax(0, 1.5fr);
    align-items: center;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1f5;
}

.fsh-detail-row:last-child {
    border-bottom: 0;
}

.fsh-detail-label {
    color: #66758a;
    font-size: 13px;
}

.fsh-detail-value {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.fsh-detail-value > span,
.fsh-detail-value > strong,
.fsh-detail-value > a {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* =========================================================
   SMALL ACTION
========================================================= */

.fsh-small-action {
    flex: 0 0 auto;
    color: #2563eb !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.fsh-small-action:hover {
    color: #1d4ed8 !important;
}

/* =========================================================
   COPY / SECRET BUTTONS
========================================================= */

.fsh-copy-btn,
.fsh-secret-btn {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    background: #ffffff;
    color: #2563eb;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.fsh-copy-btn:hover,
.fsh-secret-btn:hover {
    background: #eff6ff;
    border-color: #aac2ec;
}

/* =========================================================
   SSH STATUS
========================================================= */

.fsh-ssh-status-body {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 24px;
}

.fsh-ssh-status-body > p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.fsh-ssh-status-actions {
    margin-top: 22px;
}

.fsh-ssh-status-actions form {
    margin: 0;
}

.fsh-ssh-status-meta {
    display: grid;
    gap: 13px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #edf1f5;
}

.fsh-ssh-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #64748b;
    font-size: 12px;
}

.fsh-ssh-meta strong {
    color: #1e293b;
    text-align: right;
}

/* =========================================================
   SSH COMMAND
========================================================= */

.fsh-command-card {
    margin-top: 26px;
}

.fsh-command-intro {
    margin: 0 0 17px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.fsh-command-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #dce5f2;
    border-radius: 10px;
    background: #f1f6ff;
}

.fsh-command-box code {
    min-width: 0;
    color: #1e3a8a;
    font-family:
        Consolas,
        "Courier New",
        monospace;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* =========================================================
   TWO COLUMN MANAGEMENT
========================================================= */

.fsh-two-column {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
    gap: 26px;
    align-items: start;
}

.fsh-two-column > .fsh-card {
    margin: 0;
}

/* =========================================================
   TEXT / NOTES
========================================================= */

.fsh-muted {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.fsh-note {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
}

/* =========================================================
   ALERTS
========================================================= */

.fsh-alert {
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
}

.fsh-alert-warning {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.fsh-alert-danger {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

/* =========================================================
   SECURITY LIST
========================================================= */

.fsh-security-list {
    display: grid;
}

.fsh-security-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 49px;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f5;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.fsh-security-item:last-child {
    border-bottom: 0;
}

.fsh-security-check {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   SECRET FIELDS
========================================================= */

.fsh-secret-field {
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;
    align-items: center;
    gap: 7px;
}

.fsh-secret-field input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 8px 10px;
    border: 1px solid #d8e0eb;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 12px;
}

/* =========================================================
   JOB TIMER
========================================================= */

.fsh-job-timer {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid #cbdcf3;
    border-radius: 10px;
    background: #f4f8ff;
}

.fsh-job-timer-first {
    margin-top: 0;
}

.fsh-job-timer strong {
    color: #1e3a8a;
}

.fsh-job-timer p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
}

.fsh-refresh-job {
    display: none;
    margin-top: 12px;
}

.fsh-refresh-job.is-visible {
    display: inline-flex;
}

/* =========================================================
   DANGER ZONE
========================================================= */

.fsh-danger-card {
    margin-top: 38px;
    border-color: #fecaca;
}

.fsh-danger-card .fsh-card-header {
    background: #fffafa;
    border-color: #fee2e2;
}

.fsh-danger-card .fsh-card-header h2 {
    color: #991b1b;
}

.fsh-danger-form {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 14px;
    align-items: end;
}

.fsh-danger-field label {
    display: block;
    margin-bottom: 7px;
    color: #7f1d1d;
    font-size: 12px;
    font-weight: 800;
}

.fsh-danger-field input {
    width: 100%;
    height: 42px;
    padding: 9px 12px;
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #ffffff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
.fsh-overview-list {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .fsh-overview-item {
        border-right: 1px solid #edf1f5;
    }

    .fsh-overview-item:nth-child(3n) {
        border-right: 1px solid #edf1f5;
    }

    .fsh-overview-item:nth-child(2n) {
        border-right: 0;
    }

    .fsh-ssh-grid {
        grid-template-columns: 1fr;
    }

    .fsh-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
.fsh-page {
        padding-top: 22px;
    }

    .fsh-page-header {
        flex-direction: column;
    }

    .fsh-header-actions {
        justify-content: flex-start;
    }

    .fsh-overview-list {
        grid-template-columns: 1fr;
    }

    .fsh-overview-item,
.fsh-overview-item:nth-child(2n),
.fsh-overview-item:nth-child(3n) {
        border-right: 0;
    }

    .fsh-detail-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .fsh-detail-value {
        justify-content: flex-start;
        text-align: left;
    }

    .fsh-command-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .fsh-danger-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
.fsh-card-header,
.fsh-card-body,
.fsh-card-footer,
.fsh-card-alert-area {
        padding-left: 17px;
        padding-right: 17px;
    }

    .fsh-detail-list {
        padding-left: 17px;
        padding-right: 17px;
    }

    .fsh-actions,
.fsh-header-actions {
        width: 100%;
    }

    .fsh-actions .fsh-btn,
.fsh-actions form,
.fsh-actions form .fsh-btn,
.fsh-header-actions .fsh-btn {
        width: 100%;
    }

    .fsh-secret-field {
        grid-template-columns: 1fr 1fr;
    }

    .fsh-secret-field input {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   MANAGE WEBSITE - CARD LOGOS
========================================================= */

.fsh-title-with-logo {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.fsh-title-with-logo > div:last-child {
    min-width: 0;
}

.fsh-card-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 13px;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 6px 16px rgba(15, 23, 42, 0.05);
}

.fsh-card-logo img {
    width: 34px;
    height: 34px;
    max-width: 34px;
    object-fit: contain;
    display: block;
}

.fsh-danger-card .fsh-card-logo {
    border-color: #fecaca;
    background: #ffffff;
}

@media (max-width: 520px) {
.fsh-title-with-logo {
        gap: 11px;
    }

    .fsh-card-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 11px;
    }

    .fsh-card-logo img {
        width: 30px;
        height: 30px;
        max-width: 30px;
    }
}

/* =========================================================
   CLIENT DASHBOARD LOGOS
========================================================= */

/* Main dashboard identity */
.fsc-dashboard-header-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.fsc-dashboard-header-identity > div:last-child {
    min-width: 0;
}

.fsc-dashboard-header-logo {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eef7ff
        );
    box-shadow:
        0 12px 28px rgba(37, 99, 235, 0.10);
    overflow: hidden;
}

.fsc-dashboard-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* FourSys logo on each hosting subscription */
.fsc-hosting-brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eef6ff
        );
    border: 1px solid #c7d8f8;
    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.10);
}

.fsc-hosting-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {
.fsc-dashboard-header-identity {
        width: 100%;
    }
}

@media (max-width: 560px) {
.fsc-dashboard-header-identity {
        align-items: flex-start;
        gap: 14px;
    }

    .fsc-dashboard-header-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        padding: 7px;
        border-radius: 17px;
    }

    .fsc-hosting-brand-logo {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        padding: 6px;
        border-radius: 15px;
    }
}
