/* FreeHosting.hu – ügyfél dashboard */

.client-dashboard {
    min-height: 680px;
    padding: 3rem 0 5rem;
    background:
        radial-gradient(circle at 95% 0, rgba(31,108,240,.08), transparent 26rem),
        linear-gradient(180deg, #f4f7fc 0, #f8fafd 100%);
}

.dashboard-container {
    max-width: 1240px;
}

.dashboard-welcome {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.25rem;
    padding: 2.2rem 2.35rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 20%, rgba(34,211,238,.18), transparent 26%),
        linear-gradient(135deg, #071a38, #0b316a);
    color: #fff;
    box-shadow: 0 22px 60px rgba(7,26,56,.14);
}

.dashboard-welcome::after {
    position: absolute;
    right: -80px;
    bottom: -130px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: '';
}

.dashboard-welcome-content {
    position: relative;
    z-index: 1;
}

.dashboard-kicker {
    color: #71d8ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-welcome h1 {
    margin: .45rem 0 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.dashboard-welcome p {
    max-width: 650px;
    margin: .7rem 0 0;
    color: rgba(255,255,255,.7);
}

.dashboard-account {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .42rem .65rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.78);
    font-size: .78rem;
}

.dashboard-account-icon {
    color: #71d8ff;
}

.dashboard-primary-action {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .72rem 1.1rem;
    border: 1px solid #2778f5;
    border-radius: 11px;
    background: linear-gradient(135deg, #1f6cf0, #3287ff);
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(31,108,240,.25);
}

.dashboard-primary-action:hover {
    border-color: #4c97ff;
    background: linear-gradient(135deg, #3184ff, #5c9bff);
    color: #fff;
    transform: translateY(-1px);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
    margin-bottom: 1.5rem;
}

.dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.15rem;
    border: 1px solid #dfe7f1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(7,26,56,.045);
}

.dashboard-stat-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 13px;
    font-size: 1rem;
    font-weight: 800;
}

.dashboard-stat-icon-blue {
    background: #eaf2ff;
    color: #1f6cf0;
}

.dashboard-stat-icon-green {
    background: #e9f8f1;
    color: #15935e;
}

.dashboard-stat-icon-cyan {
    background: #e7faff;
    color: #1591af;
}

.dashboard-stat-icon-purple {
    background: #f1ecff;
    color: #7654d6;
}

.dashboard-stat-label,
.dashboard-stat-card strong {
    display: block;
}

.dashboard-stat-label {
    color: #758097;
    font-size: .7rem;
    font-weight: 600;
}

.dashboard-stat-card strong {
    margin-top: .1rem;
    color: #071a38;
    font-size: 1.45rem;
    line-height: 1.1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.2rem;
}

.dashboard-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dashboard-section-heading h2 {
    margin: .25rem 0 0;
    color: #071a38;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.dashboard-section-heading p {
    margin: .35rem 0 0;
    color: #748097;
    font-size: .82rem;
}

.hosting-card-grid {
    display: grid;
    gap: .85rem;
}

.hosting-card {
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 9px 30px rgba(7,26,56,.045);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hosting-card:hover {
    border-color: #bfd2ed;
    box-shadow: 0 18px 42px rgba(7,26,56,.085);
    transform: translateY(-2px);
}

.hosting-card-top {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #e7edf5;
}

.hosting-domain-icon {
    display: grid;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #e9f2ff, #f6f9ff);
    color: #1f6cf0;
    font-size: .65rem;
    font-weight: 800;
}

.hosting-domain-title {
    min-width: 0;
    flex: 1;
}

.hosting-domain-title h3 {
    overflow: hidden;
    margin: 0;
    color: #071a38;
    font-size: 1rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hosting-domain-title span {
    display: block;
    margin-top: .12rem;
    color: #7b8599;
    font-size: .7rem;
}

.hosting-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .36rem .58rem;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    white-space: nowrap;
}

.hosting-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-active {
    background: #e8f8f0;
    color: #118956;
}

.status-pending {
    background: #eaf3ff;
    color: #1767d6;
}

.status-warning {
    background: #fff6df;
    color: #9a6b00;
}

.status-danger {
    background: #fff0f0;
    color: #c13c3c;
}

.status-muted {
    background: #eff2f6;
    color: #6f7a8e;
}

.hosting-card-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    padding: 1rem 1.25rem;
}

.hosting-card-details > div {
    min-width: 0;
}

.hosting-card-details span,
.hosting-card-details strong {
    display: block;
}

.hosting-card-details span {
    color: #8a94a7;
    font-size: .64rem;
    font-weight: 600;
}

.hosting-card-details strong {
    overflow: hidden;
    margin-top: .2rem;
    color: #34405a;
    font-size: .74rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hosting-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 1.25rem;
    border-top: 1px solid #e7edf5;
    background: #fafbfd;
}

.hosting-service-note {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #798499;
    font-size: .68rem;
}

.hosting-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.dashboard-empty-state {
    padding: 3.2rem 1.5rem;
    border: 1px dashed #cbd7e8;
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    text-align: center;
}

.dashboard-empty-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 19px;
    background: #eaf2ff;
    color: #1f6cf0;
    font-size: 1.6rem;
}

.dashboard-empty-state h3 {
    margin: 0;
    color: #071a38;
    font-size: 1.2rem;
    font-weight: 800;
}

.dashboard-empty-state p {
    max-width: 520px;
    margin: .65rem auto 1.2rem;
    color: #748097;
    font-size: .84rem;
}

.dashboard-side-column {
    display: grid;
    gap: 1rem;
}

.dashboard-panel,
.dashboard-help-card {
    border: 1px solid #dfe7f1;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 9px 30px rgba(7,26,56,.045);
}

.dashboard-panel {
    padding: 1.25rem;
}

.dashboard-panel-heading {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.15rem;
}

.dashboard-panel-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    background: #eaf2ff;
    color: #1f6cf0;
    font-size: 1rem;
    font-weight: 800;
}

.dashboard-panel-icon-green {
    background: #e8f8f0;
    color: #118956;
}

.dashboard-panel-heading h2 {
    margin: 0;
    color: #071a38;
    font-size: .95rem;
    font-weight: 800;
}

.dashboard-panel-heading p {
    margin: .15rem 0 0;
    color: #8791a3;
    font-size: .66rem;
}

.dashboard-create-form {
    display: grid;
    gap: 1rem;
}

.dashboard-create-form .form-label {
    margin-bottom: .38rem;
    color: #34405a;
    font-size: .72rem;
    font-weight: 700;
}

.dashboard-create-form .form-control,
.dashboard-create-form .form-select {
    min-height: 45px;
    font-size: .8rem;
}

.dashboard-create-form .form-text {
    color: #929bad;
    font-size: .62rem;
}

.dashboard-package-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    padding: .85rem;
    border: 1px solid #e2e9f3;
    border-radius: 12px;
    background: #f8fafd;
}

.dashboard-package-features span {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #59647b;
    font-size: .64rem;
    font-weight: 600;
}

.dashboard-package-features i {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    background: #e8f8f0;
    color: #118956;
    font-size: .55rem;
    font-style: normal;
}

.dashboard-check-list {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-check-list li {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #59647b;
    font-size: .72rem;
}

.dashboard-check-list span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: #e8f8f0;
    color: #118956;
    font-size: .62rem;
    font-weight: 800;
}

.dashboard-help-card {
    display: flex;
    gap: .8rem;
    padding: 1.15rem;
    background:
        radial-gradient(circle at 95% 5%, rgba(34,211,238,.12), transparent 35%),
        linear-gradient(135deg, #071a38, #0b3067);
    color: #fff;
}

.dashboard-help-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    color: #79ddff;
    font-weight: 800;
}

.dashboard-help-card h2 {
    margin: 0;
    font-size: .84rem;
    font-weight: 800;
}

.dashboard-help-card p {
    margin: .35rem 0 .55rem;
    color: rgba(255,255,255,.62);
    font-size: .66rem;
}

.dashboard-help-card a {
    color: #79ddff;
    font-size: .7rem;
    font-weight: 800;
}

/*
 * Biztonsági térköz: a sticky header után semmilyen címsor
 * vagy ékezetes nagybetű nem érhet közvetlenül a fejlécbe.
 */
.site-header + main,
body > main {
    min-height: 1px;
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

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

@media (max-width: 991.98px) {
    .client-dashboard {
        padding-top: 2.25rem;
    }

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

    .dashboard-side-column {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-help-card {
        grid-column: 1 / -1;
    }

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

@media (max-width: 767.98px) {
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.7rem;
    }

    .dashboard-welcome .dashboard-primary-action {
        width: 100%;
    }

    .dashboard-side-column {
        grid-template-columns: 1fr;
    }

    .dashboard-help-card {
        grid-column: auto;
    }

    .hosting-card-top {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .hosting-status {
        margin-left: 3.7rem;
    }

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

    .hosting-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .client-dashboard {
        padding: 1.5rem 0 3rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

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

    .hosting-status {
        margin-left: 0;
    }

    .dashboard-package-features {
        grid-template-columns: 1fr;
    }
}


/* FreeHosting v1.6.1 – kulturált, táblázatos ügyfél-dashboard */
.dashboard-container {
    max-width: 1500px;
    padding-left: 28px;
    padding-right: 28px;
}

.dashboard-welcome-compact {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 28px;
}

.dashboard-table-panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.dashboard-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px 18px;
}

.dashboard-result-count {
    white-space: nowrap;
    font-size: .9rem;
    font-weight: 700;
    color: #64748b;
}

.dashboard-filter-bar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(210px, 280px) auto;
    gap: 14px;
    align-items: end;
    margin: 0 30px 20px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.dashboard-filter-bar label {
    display: block;
    margin-bottom: 7px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}

.dashboard-filter-bar input,
.dashboard-filter-bar select,
.dashboard-action-menu select {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
}

.dashboard-filter-actions {
    display: flex;
    gap: 8px;
}

.dashboard-table-wrap {
    overflow-x: auto;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.dashboard-hosting-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.dashboard-hosting-table th {
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #64748b;
    text-align: left;
}

.dashboard-hosting-table td {
    padding: 18px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
    color: #334155;
}

.dashboard-hosting-table tbody tr {
    transition: background-color .16s ease;
}

.dashboard-hosting-table tbody tr:hover {
    background: #f8fbff;
}

.dashboard-hosting-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-domain-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-domain-cell strong,
.dashboard-domain-cell small {
    display: block;
}

.dashboard-domain-cell strong {
    color: #0f172a;
    font-size: .98rem;
}

.dashboard-domain-cell small {
    margin-top: 3px;
    color: #64748b;
}

.dashboard-domain-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #0369a1;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.dashboard-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-action-menu {
    position: relative;
}

.dashboard-action-menu > summary {
    list-style: none;
    cursor: pointer;
    padding: 7px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: .82rem;
    font-weight: 700;
}

.dashboard-action-menu > summary::-webkit-details-marker {
    display: none;
}

.dashboard-action-menu[open] form {
    position: absolute;
    right: 0;
    z-index: 20;
    width: 300px;
    margin-top: 8px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.dashboard-action-menu form {
    display: grid;
    gap: 9px;
}

.dashboard-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 30px;
}

.dashboard-pagination-top {
    justify-content: flex-end;
    padding-top: 0;
}

.dashboard-pagination-bottom {
    justify-content: space-between;
}

.dashboard-page-arrow,
.dashboard-page-numbers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: .86rem;
    font-weight: 750;
    text-decoration: none;
    transition: all .16s ease;
}

.dashboard-page-arrow:hover,
.dashboard-page-numbers a:hover,
.dashboard-page-numbers a.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.dashboard-page-arrow.disabled {
    pointer-events: none;
    opacity: .4;
}

.dashboard-page-info {
    font-size: .86rem;
    font-weight: 700;
    color: #64748b;
}

.dashboard-page-numbers {
    display: flex;
    gap: 7px;
}

.dashboard-page-numbers a {
    min-width: 38px;
    padding-left: 9px;
    padding-right: 9px;
}

@media (max-width: 900px) {
    .dashboard-container {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .dashboard-filter-bar {
        grid-template-columns: 1fr;
        margin-left: 18px;
        margin-right: 18px;
    }

    .dashboard-filter-actions {
        width: 100%;
    }

    .dashboard-filter-actions .btn {
        flex: 1;
    }

    .dashboard-pagination-top,
    .dashboard-pagination-bottom {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .dashboard-welcome-compact {
        padding: 22px;
    }

    .dashboard-section-heading-row {
        padding: 22px 18px 15px;
    }

    .dashboard-page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}


/* FreeHosting v1.7.0 – Számlák és díjbekérők */
.invoice-dashboard {
    padding-bottom: 42px;
}

.invoice-filter-bar {
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(160px, 210px)
        minmax(170px, 220px)
        auto;
}

.invoice-document-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.invoice-document-cell strong,
.invoice-document-cell small,
.invoice-source-link {
    display: block;
}

.invoice-document-cell strong {
    color: #0f172a;
}

.invoice-document-cell small {
    margin-top: 2px;
    color: #64748b;
}

.invoice-source-link {
    margin-top: 5px;
    color: #64748b;
    font-size: .76rem;
}

.invoice-type-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.invoice-type-mark.proforma {
    background: #fff7ed;
    color: #c2410c;
}

.invoice-type-mark.invoice {
    background: #ecfdf3;
    color: #047857;
}

.invoice-row {
    background: linear-gradient(
        90deg,
        rgba(236, 253, 243, .55),
        rgba(255, 255, 255, 0)
    );
}

.invoice-row:hover {
    background: #f0fdf4 !important;
}

@media (max-width: 1050px) {
    .invoice-filter-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .invoice-filter-bar {
        grid-template-columns: 1fr;
    }
}
