/* =========================================================
   melegek.hu - payments.css
   Prémium, fizetés, számlázás, checkout és payment result oldalak.
   Forrás: korábbi /assets/css/style.css
   Refaktor típusa: moduláris bontás redesign nélkül
   ========================================================= */

/* ===== PREMIUM PAGE ===== */


.premium-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.premium-hero h1 {
    margin: 0 0 10px;
}

.premium-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
}

.premium-active-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(31,157,102,.16);
    border: 1px solid rgba(31,157,102,.30);
    color: #d8ffe6;
    font-weight: 600;
}

.premium-features h2 {
    margin: 0 0 16px;
}

.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.premium-feature-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.premium-feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.premium-feature-card p {
    margin: 0;
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
}

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

.premium-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.premium-plan-card.is-featured {
    border-color: rgba(0,140,255,0.28);
    box-shadow: 0 14px 34px rgba(0, 90, 255, 0.14);
}

.premium-plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20,132,255,0.95), rgba(94,92,230,0.95));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.premium-plan-head h2 {
    margin: 0 0 8px;
}

.premium-plan-price {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.premium-plan-desc {
    margin: 0;
    color: rgba(255,255,255,0.76);
    line-height: 1.6;
}

.premium-plan-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(255,255,255,0.84);
    line-height: 1.8;
}

.premium-plan-form {
    margin-top: auto;
}

.nav-pill-premium {
    background: linear-gradient(135deg, #8a5cf6 0%, #d946ef 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 22px rgba(138, 92, 246, 0.28);
}

.nav-pill-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(138, 92, 246, 0.36);
}

.nav-pill-premium-active {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 22px rgba(20, 184, 166, 0.24);
}

.nav-pill-premium-active:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(20, 184, 166, 0.32);
}

.payment-page {
    padding: 36px 0 56px;
}

.payment-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 30px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.payment-card-success {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    border: 1px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.payment-card-cancel {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    border: 1px solid rgba(245, 158, 11, 0.18);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.payment-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.payment-icon {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.payment-icon-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.payment-icon-cancel {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.payment-card h1 {
    margin: 0 0 14px;
    text-align: center;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.payment-lead {
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.04rem;
    line-height: 1.75;
    color: #475569;
}

.payment-info-box {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    color: #1e293b;
    font-weight: 600;
}

.payment-feature-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto 28px;
    max-width: 760px;
}

.payment-check-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(15, 23, 42, 0.07);
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.payment-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.payment-note {
    margin: 22px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 0.96rem;
}

.premium-hero-links {
    margin-top: 16px;
}

.premium-plan-title {
    font-size: 22px;
    font-weight: 700;
}

.premium-plan-duration {
    font-size: 13px;
    opacity: 0.78;
    margin-top: 4px;
}

.payment-result-page {
    max-width: 980px;
    margin: 0 auto;
}

.payment-result-card {
    padding: 40px 32px;
    text-align: center;
}

.payment-result-card-success {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-result-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.payment-result-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
    box-shadow: 0 18px 35px rgba(16, 185, 129, 0.28);
}

.payment-result-title {
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 2.2rem;
    line-height: 1.15;
}

.payment-result-lead {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    font-size: 1.08rem;
}

.payment-expire-box {
    max-width: 720px;
    margin: 26px auto 0;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
}

.payment-expire-label {
    opacity: 0.82;
    margin-right: 8px;
}

.payment-expire-value {
    font-size: 1.1rem;
}

.payment-featured-box {
    max-width: 760px;
    margin: 22px auto 0;
    padding: 20px 22px;
    border-radius: 20px;
    text-align: left;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.10), rgba(139, 92, 246, 0.10));
    border: 1px solid rgba(236, 72, 153, 0.18);
}

.payment-featured-title {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.payment-featured-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.payment-featured-expire {
    margin-top: 12px;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.80);
}

.payment-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 26px auto 0;
}

.payment-feature-item {
    padding: 18px 18px;
    border-radius: 18px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
}

.payment-result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.payment-result-footnote {
    margin-top: 22px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.68);
}

/* Premium erős */

.nav-pill-premium-strong {
    color: #fdfcf7;
    border-color: rgba(45, 212, 191, 0.34);
    background:
        linear-gradient(135deg, rgba(20, 184, 166, 0.88) 0%, rgba(6, 182, 212, 0.70) 100%);
    box-shadow:
        0 14px 34px rgba(20, 184, 166, 0.22),
        0 0 26px rgba(45, 212, 191, 0.18);
}

.nav-pill-premium-strong:hover {
    border-color: rgba(153, 246, 228, 0.55);
    box-shadow:
        0 16px 36px rgba(20, 184, 166, 0.28),
        0 0 28px rgba(45, 212, 191, 0.24);
}

/* =========================================================
   PREMIUM PAGE
   ========================================================= */


.premium-page {
    margin-top: 30px;
}

/* ===== HERO ===== */


.premium-hero-strong {
    padding: 30px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        rgba(12, 14, 22, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.premium-hero-top {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
}

.premium-subtitle {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-top: 10px;
}

.premium-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.premium-hero-points span {
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

/* highlight box */


.premium-hero-highlight {
    padding: 20px;
    border-radius: 16px;
    background: rgba(123,92,255,0.08);
    border: 1px solid rgba(123,92,255,0.2);
}

.premium-hero-highlight-label {
    font-size: 12px;
    opacity: 0.7;
}

.premium-hero-highlight-value {
    font-size: 20px;
    font-weight: 700;
    margin-top: 6px;
}

.premium-hero-highlight-text {
    font-size: 14px;
    margin-top: 6px;
    color: rgba(255,255,255,0.7);
}

/* ===== STATUS ===== */


.premium-active-note,
.premium-passive-note {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* ===== FEATURES ===== */


.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.premium-feature-card {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.premium-feature-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.premium-feature-card h3 {
    margin-bottom: 6px;
}

.premium-feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

/* ===== COMPARE TABLE ===== */


.premium-compare {
    margin-top: 40px;
}

.premium-table-wrap {
    overflow-x: auto;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15,17,26,0.95);
    border-radius: 14px;
    overflow: hidden;
}

.premium-table th,
.premium-table td {
    padding: 14px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.premium-table th:first-child,
.premium-table td:first-child {
    text-align: left;
    color: rgba(255,255,255,0.7);
}

.premium-table thead {
    background: rgba(255,255,255,0.04);
}

/* ===== WHY ===== */


.premium-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.premium-why-item {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
}

.premium-why-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

/* ===== PLAN CARDS ===== */


.premium-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.premium-plan-card {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.premium-plan-card.is-featured {
    border-color: rgba(123,92,255,0.4);
    box-shadow: 0 0 25px rgba(123,92,255,0.15);
    padding-top: 44px;
}

.premium-plan-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    background: rgba(123,92,255,0.18);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(123,92,255,0.28);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    max-width: 160px;
    text-align: center;
}

/* header */


.premium-plan-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.premium-plan-title {
    font-size: 20px;
}

.premium-plan-duration {
    font-size: 13px;
    opacity: 0.7;
}

.premium-plan-price {
    font-size: 22px;
    font-weight: 700;
}

.premium-plan-price-sub {
    font-size: 12px;
    opacity: 0.7;
}

/* list */


.premium-plan-list {
    margin: 15px 0;
    padding-left: 18px;
}

.premium-plan-list li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* button */


.premium-plan-button {
    width: 100%;
    margin-top: 10px;
}

.premium-plan-note {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.6;
}

.premium-plan-price-wrap {
    text-align: right;
    flex-shrink: 0;
}

.premium-plan-price {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.premium-plan-price-sub {
    font-size: 12px;
    opacity: 0.72;
    margin-top: 2px;
}

.billing-form {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.billing-form input[type="text"] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #0f1220;
    color: #fff;
}

.billing-type {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.billing-type label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.billing-type input[type="radio"] {
    accent-color: #00d4ff;
}

.billing-edit-link {
    display: inline-block;
    margin: 16px 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.billing-edit-link:hover {
    background: rgba(0, 212, 255, 0.14);
    border-color: rgba(0, 212, 255, 0.45);
}

.billing-type {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 18px;
}

.billing-type label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
}

.billing-type input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0;
    accent-color: #00d4ff;
    flex: 0 0 auto;
}

.nav-pill-premium-soft {
    background: rgba(20, 184, 166, 0.16);
    border: 1px solid rgba(45, 212, 191, 0.28);
    color: #dffcf8;
    box-shadow: none;
}

.nav-pill-premium-soft:hover,
.nav-pill-premium-soft.is-active {
    background: rgba(20, 184, 166, 0.28);
    border-color: rgba(45, 212, 191, 0.55);
    box-shadow: 0 0 24px rgba(45, 212, 191, 0.18);
}

.member-badge.premium {
    background: rgba(20,184,166,0.85);
}

.member-badge.premium {
    background: linear-gradient(90deg,#00c6ff,#00ffa3);
}

.member-badge.premium {
    background: linear-gradient(90deg,#00c6ff,#00ffa3);
}
