/* ============================================================
   Magicstark Předplatné – Styles
   Colors: #503AA8 (purple/accent-3), #FFEE58 (yellow/accent-1),
           #111111 (contrast), #FFFFFF (base), #FBFAF3 (accent-5)
   ============================================================ */

/* Login notice */
.msp-login-notice {
    text-align: center;
    padding: 2rem;
    background: unset;
    border-radius: 12px;
}
/* Inside plan card the background is cream (#FBFAF3), so text must be dark */
.msp-plan-card .msp-login-notice p {
    color: #111;
}
.msp-login-notice a {
    color: #503AA8;
    font-weight: 600;
}

/* ---- ACTIVE SUBSCRIPTION ---- */
.msp-subscription-active {
    max-width: 600px;
    margin: 0 auto;
}
.msp-status-card {
    background: #FBFAF3;
    border: 2px solid #503AA8;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}
.msp-status-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: #503AA8;
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 64px;
}
.msp-status-card h2 {
    color: #503AA8;
    margin-bottom: 1.5rem;
}
.msp-status-details {
    text-align: left;
    max-width: 360px;
    margin: 0 auto 1.5rem;
}
.msp-status-details p {
    margin: 0.4rem 0;
    color:#111;
}
.msp-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
}
.msp-badge-active {
    background: #d4edda;
    color: #155724;
}
.msp-badge-pending {
    background: #fff3cd;
    color: #856404;
}
.msp-badge-expired {
    background: #f8d7da;
    color: #721c24;
}
.msp-benefits-summary {
    text-align: left;
    max-width: 360px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}
.msp-benefits-summary h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #503AA8;
}
.msp-benefits-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.msp-benefits-summary li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color:#503AA8;
}
.msp-benefits-summary li::before {
    content: "\2713";
    color: #503AA8;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ---- NO SUBSCRIPTION / PLANS ---- */
.msp-no-subscription {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.msp-no-subscription h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}
.msp-no-subscription > p {
    color: #fff;
    margin-bottom: 2rem;
}
.msp-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 640px) {
    .msp-plans {
        grid-template-columns: 1fr;
    }
}
.msp-plan-card {
    background: #FBFAF3;
    border: 2px solid #e0ddd4;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.msp-plan-card:hover {
    border-color: #503AA8;
}
.msp-plan-featured {
    border-color: #503AA8;
    box-shadow: 0 4px 24px rgba(80, 58, 168, 0.15);
    transform: scale(1.03);
}
.msp-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFEE58;
    color: #111;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.msp-plan-header h3 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.25rem;
    color: #111;
}
.msp-plan-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: #503AA8;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.msp-plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #686868;
}
.msp-plan-savings {
    font-size: 0.85rem;
    color: #503AA8;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.msp-plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}
.msp-plan-features li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: #111;
}
.msp-plan-features li::before {
    content: "\2713";
    color: #503AA8;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Buttons */
.msp-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 2px solid #503AA8;
    color: #503AA8;
    background: transparent;
    cursor: pointer;
}
.msp-btn:hover {
    background: #503AA8;
    color: #fff;
}
.msp-btn-featured {
    background: #503AA8;
    color: #fff;
    border-color: #503AA8;
}
.msp-btn-featured:hover {
    background: #3d2b85;
    border-color: #3d2b85;
    color: #fff;
}

/* ---- ORDER FORM ---- */
.msp-order-form-wrap {
    max-width: 600px;
    margin: 0 auto;
}
.msp-order-form-wrap h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
}
.msp-selected-plan {
    background: #FBFAF3;
    border: 2px solid #503AA8;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    color:#503AA8;
}
.msp-selected-plan .msp-plan-badge {
    top: -12px;
}
.msp-plan-switch {
    margin-top: 0.5rem;
}
.msp-plan-switch a {
    color: #503AA8;
    font-size: 0.85rem;
}
.msp-order-form h3 {
    color: #503AA8;
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0ddd4;
    padding-bottom: 0.5rem;
}
.msp-form-row {
    margin-bottom: 1rem;
}
.msp-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
    font-size: 0.9rem;
}
.msp-form-row input[type="text"],
.msp-form-row input[type="email"],
.msp-form-row input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.msp-form-row input:focus {
    border-color: #503AA8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(80, 58, 168, 0.15);
}
.msp-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Payment methods */
.msp-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.msp-payment-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #FBFAF3;
    border: 2px solid #e0ddd4;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s;
}
.msp-payment-option:hover,
.msp-payment-option:has(input:checked) {
    border-color: #503AA8;
}
.msp-payment-option input[type="radio"] {
    accent-color: #503AA8;
    width: 18px;
    height: 18px;
}
.msp-payment-label strong {
    display: block;
    color: #111;
}
.msp-payment-label small {
    color: #686868;
    font-size: 0.85rem;
}

/* Payment info (single method – no radio) */
.msp-payment-info h3 {
    color: #503AA8;
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0ddd4;
    padding-bottom: 0.5rem;
}
.msp-payment-only-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: #FBFAF3;
    border: 2px solid #503AA8;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.msp-payment-only-option strong {
    color: #111;
}
.msp-payment-only-option small {
    color: #686868;
    font-size: 0.85rem;
}

/* Order summary */
.msp-order-summary {
    background: #FBFAF3;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #111;
}
.msp-btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px;
    text-align: center;
}

/* ---- CONFIRMATION PAGE ---- */
.msp-confirmation {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.msp-confirm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #503AA8;
    color: #fff;
    border-radius: 50%;
    font-size: 2.5rem;
    line-height: 80px;
}
.msp-confirmation h2 {
    color: #503AA8;
    margin-bottom: 1.5rem;
}
.msp-confirm-details {
    background: #FBFAF3;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.msp-confirm-details p {
    margin: 0.4rem 0;
    color:#111;
}
.msp-bank-details {
    background: #FBFAF3;
    border: 2px solid #503AA8;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: left;
    margin-bottom: 2rem;
}
.msp-bank-details h3 {
    color: #503AA8;
    margin: 0 0 1rem;
    font-size: 1.1rem;
}
.msp-bank-table {
    width: 100%;
    border-collapse: collapse;
}
.msp-bank-table th,
.msp-bank-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0ddd4;
    text-align: left;
    color:#111;
}
.msp-bank-table th {
    color: #686868;
    font-weight: 600;
    width: 40%;
    font-size: 0.9rem;
}
.msp-bank-table td {
    color: #111;
    font-weight: 600;
}
.msp-bank-note {
    margin-top: 1rem;
    color: #686868;
    font-size: 0.9rem;
}
.msp-qr-code {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}
.msp-qr-code h4 {
    color: #503AA8;
    margin: 0 0 1rem;
    font-size: 1rem;
}
.msp-qr-code img {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.msp-gateway-info {
    background: #fff3cd;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    color: #856404;
}
