/* ======================================================================
   Moon-Host Verified Reviews
   Clean WHMCS ClientArea Version
   Location: /whmcs/assets/css/mh-reviews.css
   ====================================================================== */

.mh-clientarea-review-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* A WHMCS oldal része legyen, ne külön háttérdoboz */
.mh-verified-reviews {
    position: relative;
    width: 100%;
    padding: 48px 0 90px;
    background: transparent !important;
    color: #fff;
    overflow: visible;
    border-top: none;
}

.mh-verified-reviews-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}

/* ======================================================================
   Header
   ====================================================================== */

.mh-verified-reviews-head {
    max-width: 940px;
    margin: 0 auto 42px;
    text-align: center;
}

.mh-verified-reviews-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #ff4a4a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.mh-verified-reviews-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.mh-verified-reviews-head p {
    max-width: 820px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.72;
}

/* ======================================================================
   Stats
   ====================================================================== */

.mh-review-stats {
    max-width: 1180px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
}

.mh-review-stat {
    padding: 24px 26px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: none;
}

.mh-review-stat-main {
    background: rgba(255, 74, 74, 0.055);
    border-color: rgba(255, 74, 74, 0.20);
}

.mh-review-stat strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    font-weight: 950;
}

.mh-review-stat span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    font-weight: 750;
}

/* ======================================================================
   Review Cards
   ====================================================================== */

.mh-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.mh-review-card {
    position: relative;
    min-height: 360px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mh-review-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #ff4a4a;
    opacity: 0.94;
}

.mh-review-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.038);
    border-color: rgba(255, 74, 74, 0.32);
}

.mh-review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.mh-review-stars {
    min-height: 24px;
    margin-bottom: 10px;
    color: #ffcf5a;
    font-size: 18px;
    letter-spacing: 2px;
}

.mh-review-card h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.mh-review-verified {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: rgba(57, 255, 136, 0.08);
    border: 1px solid rgba(57, 255, 136, 0.24);
    color: #7effae;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-review-verified::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background: rgba(57, 255, 136, 0.14);
    border: 1px solid rgba(57, 255, 136, 0.26);
    font-size: 10px;
    line-height: 1;
}

.mh-review-text {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.75;
}

.mh-review-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.mh-review-meta span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mh-review-meta strong {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mh-review-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.mh-review-breakdown span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 850;
}

.mh-review-breakdown strong {
    color: #fff;
}

.mh-review-date {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    font-weight: 800;
}

/* ======================================================================
   Empty State / Auth Box
   ====================================================================== */

.mh-review-empty {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px;
    text-align: center;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
    box-shadow: none;
}

.mh-review-empty h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.mh-review-empty p {
    max-width: 620px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.65;
}

.mh-review-auth-box {
    max-width: 980px;
    margin: 36px auto 0;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(255, 255, 255, 0.085);
}

.mh-review-auth-box strong {
    display: block;
    margin-bottom: 8px;
    color: #ff4a4a;
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-review-auth-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    font-size: 14px;
}

/* ======================================================================
   Buttons
   ====================================================================== */

.mh-review-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.mh-review-btn-primary,
.mh-review-btn-solid,
.mh-review-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    background: #ef2f2f !important;
    background-image: none !important;
    border: 1px solid #ef2f2f !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.mh-review-btn-primary:hover,
.mh-review-btn-solid:hover,
.mh-review-empty a:hover {
    transform: translateY(-2px);
    background: #ff4545 !important;
    border-color: #ff4545 !important;
}

/* ======================================================================
   Submit Page
   ====================================================================== */

.mh-review-submit-inner {
    max-width: 900px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.mh-review-submit-header {
    margin-bottom: 30px;
}

.mh-review-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: #ff4a4a !important;
    text-decoration: none !important;
    font-weight: 800;
}

.mh-review-back-link:hover {
    color: #fff !important;
}

.mh-review-submit-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.mh-review-submit-header p {
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.7;
}

.mh-review-alert {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 22px;
    font-weight: 800;
    line-height: 1.5;
}

.mh-review-alert-success {
    background: rgba(57, 255, 136, 0.08);
    border: 1px solid rgba(57, 255, 136, 0.26);
    color: #7effae;
}

.mh-review-alert-error {
    background: rgba(255, 74, 74, 0.10);
    border: 1px solid rgba(255, 74, 74, 0.34);
    color: #ff9b9b;
}

.mh-review-inline-link {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 900;
}

/* ======================================================================
   Submit Form
   ====================================================================== */

.mh-review-form-clean {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin: 0;
}

.mh-review-form-clean label {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.mh-review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.mh-review-form-clean input,
.mh-review-form-clean select,
.mh-review-form-clean textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 14px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    outline: none;
    border-radius: 0;
    font-size: 14px;
}

.mh-review-form-clean select option {
    background: #0c101a;
    color: #fff;
}

.mh-review-form-clean textarea {
    min-height: 190px;
    padding: 14px;
    resize: vertical;
    line-height: 1.6;
}

.mh-review-form-clean input:focus,
.mh-review-form-clean select:focus,
.mh-review-form-clean textarea:focus {
    border-color: rgba(255, 74, 74, 0.65);
}

.mh-review-form-clean .mh-review-btn-solid {
    width: 100%;
    min-height: 54px;
    margin-top: 2px;
}

/* ======================================================================
   Navbar spacing
   ====================================================================== */

#Primary_Navbar-moonhost-bewerten > a,
#primary-nav #Primary_Navbar-moonhost-bewerten > a,
.navbar-nav #Primary_Navbar-moonhost-bewerten > a {
    padding-left: 18px !important;
    padding-right: 18px !important;
}

#Primary_Navbar-moonhost-bewerten {
    margin-right: 14px !important;
}

/* ======================================================================
   Responsive
   ====================================================================== */

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

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

@media (max-width: 780px) {
    .mh-verified-reviews {
        padding: 42px 0 70px;
    }

    .mh-verified-reviews-inner,
    .mh-review-submit-inner {
        width: calc(100% - 28px);
    }

    .mh-review-grid {
        grid-template-columns: 1fr;
    }

    .mh-review-card-top {
        flex-direction: column;
    }

    .mh-review-meta {
        grid-template-columns: 1fr;
    }

    .mh-review-form-grid {
        grid-template-columns: 1fr;
    }

    .mh-review-btn-primary,
    .mh-review-btn-solid,
    .mh-review-empty a {
        width: 100%;
    }
}