/* ========================= */
/* CORE SUBSCRIPTION PAGE STYLES */
/* ========================= */

/* Hero Card */
.mda-core-hero {
    background: #24252b;
    border-radius: 15px;
    padding: 32px;
    margin-bottom: 24px;
}

.mda-core-hero-content {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.mda-core-hero-text {
    flex: 1;
    min-width: 300px;
}

.mda-core-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff !important;
    margin: 0 0 8px 0;
    font-family: 'Exo 2', sans-serif !important;
}

.mda-core-price {
    font-size: 20px;
    color: #b0b0d0 !important;
    margin: 0 0 24px 0;
    font-weight: 500;
}

.mda-core-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.mda-core-benefits li {
    color: #fff;
    font-size: 16px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mda-benefit-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.mda-core-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* CORE Buttons */
.mda-core-btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: "Righteous" !important;
}

.mda-core-btn-primary {
    background: #715fa9;
    color: #ffffff !important;
    text-decoration: none !important;
}

.mda-core-btn-primary:hover {
    background: #9179d3;
}

.mda-core-btn-secondary {
    background: #715fa9;
    color: #ffffff;
}

.mda-core-btn-secondary:hover {
    background: #9179d3;
}

.mda-core-mascot-img {
    width: 100%;
    /* Slika će se širiti koliko dopušta okvir */
    height: auto !important;
    /* Zadržava proporcije da se vuk ne izduži */
    max-width: 250px !important;
    /* Možeš podesiti ovu vrijednost ovisno o tome koliko velikog vuka želiš */
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    /* Dodaje blagu sjenu za 3D efekt */
}

/* Osiguraj da kontejner ne reže sliku */
.mda-core-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Sections */
.mda-core-section {
    background: #1a1b1e;
    border-radius: 15px;
    padding: 24px;
    margin-bottom: 20px;
    border: 4px solid #24252b;
}

.mda-core-section h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.mda-core-section-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex: 1;
    min-width: 300px;
}

.mda-core-gifting-icon {
    flex-shrink: 0;
}

.mda-core-section-header h3 {
    margin: 0 0 8px 0;
}

.mda-core-section-header p {
    color: #b9bbbe;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.mda-core-gifting-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mda-gift-icon-small {
    font-size: 16px;
    padding-right: 10px;
}

.mda-gift-sent {
    color: #f47fff;
    font-weight: 700;
}

/* Glavni kontejner */
.mda-core-gifting {
    background-color: #1a1b1e;
    /* Tamna pozadina kao na slici */
    padding: 20px;
    border-radius: 12px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* PRVI RED */
.mda-row-1 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mda-core-gift-circle {
    width: 50px;
    height: 50px;
    background: #715fa9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

/* Tvoj postojeći stil za krug i ikonu */
.mda-core-gift-circle .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
}

.mda-notifications-empty .material-symbols-outlined {
    font-size: 75px;
    color: #715fa9;
}

.mda-no-subscription .material-symbols-outlined {
    font-size: 75px;
    color: #715fa9;
    animation: float 3s ease-in-out infinite;
}

.mda-row-1 h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

/* DRUGI RED */
.mda-row-2 p {
    margin: 0;
    font-size: 14px;
    color: #b0b0d0;
}

.mda-link-more {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
}

/* TREĆI RED - Ključni deo za poravnanje */
.mda-row-3 {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Razmak između brojača, dugmeta i teksta */
    flex-wrap: wrap;
    /* Da se ne polomi na malim ekranima */
}

/* Brojač 0/3 */
.mda-gift-counter {
    background-color: #24252b;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dugme */
.mda-core-btn-gift {
    background: #715fa9;
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.mda-core-btn-gift:hover {
    background: #9179d3;
}

/* Upozorenje (žuto-sivo) */
.mda-gift-requirement-text {
    margin: 0;
    font-size: 13px;
    color: #df1414 !important;
    display: flex;
    align-items: center;
}

/* Pricing Table */
.mda-pricing-table {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #24252b;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 16px;
}

.mda-pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #1a1b1e;
}

.mda-pricing-header {
    background: #24252b;
}

.mda-pricing-col {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mda-pricing-feature {
    text-align: left;
    align-items: flex-start;
    color: #b0b0d0;
    font-size: 14px;
}

.mda-pricing-tier {
    border-left: 1px solid #24252b;
}

.mda-tier-name {
    font-size: 18px;
    font-weight: 900;
    color: #f47fff;
    margin-bottom: 4px;
}

.mda-tier-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #b9bbbe;
    margin-bottom: 8px;
}

.mda-tier-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.mda-pricing-tier-premium .mda-tier-name {
    background: linear-gradient(135deg, #f47fff, #5865F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mda-pricing-check {
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: #43b581;
    font-size: 30px;
}

.mda-pricing-cross {
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    color: #f04747;
    font-size: 30px;
}

.mda-pricing-actions {
    background: #24252b;
    padding: 24px 16px;
}

.mda-core-btn-purchase {
    background: #715fa9;
    color: #fff;
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
}

.mda-core-btn-purchase:hover {
    background: #9179d3;
}

.mda-core-btn-purchase-premium {
    background: #715fa9;
}

.mda-core-btn-purchase-premium:hover {
    background: #9179d3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mda-core-hero {
        padding: 24px;
    }

    .mda-core-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .mda-core-title {
        font-size: 36px;
    }

    .mda-core-actions {
        flex-direction: column;
        width: 100%;
    }

    .mda-core-btn {
        width: 100%;
    }

    .mda-core-gifting {
        flex-direction: column;
        align-items: stretch;
    }

    .mda-pricing-row {
        grid-template-columns: 1fr;
    }

    .mda-pricing-tier {
        border-left: none;
        border-top: 1px solid #24252b;
    }

    .mda-pricing-feature {
        text-align: center;
        align-items: center;
    }
}

/* ========================= */
/* FRIEND SELECTOR MODAL */
/* ========================= */

.mda-friend-selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.mda-friend-selector-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mda-friend-selector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.mda-friend-selector-container {
    position: relative;
    background: #1a1b1e;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border: 1px solid #24252b;
}

.mda-friend-selector-header {
    padding: 32px 24px 24px;
    border-bottom: 1px solid #24252b;
}

.mda-friend-selector-header h2 {
    color: #fff !important;
    font-size: 25px !important;
    font-weight: 900;
    margin: 0 0 8px 0;
    text-align: center !important;
    font-family: 'Righteous', cursive;
}

.mda-friend-selector-header p {
    color: #b0b0d0 !important;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
    text-align: center !important;
    font-family: 'Righteous', cursive;
}

.mda-gift-limit-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #24252b;
    padding: 12px 16px;
    border-radius: 8px;
}

.mda-gift-icon-badge {
    font-size: 24px;
}

.mda-gifts-remaining {
    color: #b0b0d0;
    font-size: 14px;
    font-family: 'Righteous', cursive !important;
}

.mda-gifts-remaining strong {
    color: #715fa9;
}

.mda-friend-selector-search {
    padding: 16px 24px;
    border-bottom: 1px solid #24252b;
}

.mda-friend-selector-search input {
    width: 100%;
    padding: 12px 16px;
    background: #24252b;
    border: 1px solid #2f3136;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: 'Righteous', cursive !important;
}

.mda-friend-selector-search input:focus {
    outline: none;
    border-color: #f47fff;
    box-shadow: 0 0 0 2px rgba(244, 127, 255, 0.2);
}

.mda-friend-selector-search input::placeholder {
    color: #72767d;
}

.mda-friend-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 300px;
    max-height: 400px;
}

.mda-friend-list-loading,
.mda-friend-list-empty {
    padding: 48px 24px;
    text-align: center;
    color: #72767d;
    font-size: 14px;
}

.mda-friend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.mda-friend-item:hover {
    background: #24252b;
}

.mda-friend-item.selected {
    background: rgba(244, 127, 255, 0.15);
    border: 1px solid #f47fff;
}

.mda-friend-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #72767d;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mda-friend-item.selected .mda-friend-checkbox {
    background: #f47fff;
    border-color: #f47fff;
}

.mda-friend-checkbox::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.mda-friend-item.selected .mda-friend-checkbox::after {
    opacity: 1;
    transform: scale(1);
}

.mda-friend-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mda-friend-info {
    flex: 1;
}

.mda-friend-name {
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 2px;
    font-family: 'Exo 2', sans-serif !important;
}

.mda-friend-username {
    color: #b0b0d0;
    font-size: 13px;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600;
}

.mda-friend-selector-footer {
    padding: 16px 24px;
    border-top: 1px solid #24252b;
    display: flex;
    gap: 12px;
    align-items: center;
}

.mda-friend-selector-footer .mda-core-btn {
    flex: 1;
}

.mda-friend-selector-footer .mda-core-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Friend selector scrollbar */
.mda-friend-list::-webkit-scrollbar {
    width: 8px;
}

.mda-friend-list::-webkit-scrollbar-track {
    background: #1a1b1e;
}

.mda-friend-list::-webkit-scrollbar-thumb {
    background: #24252b;
    border-radius: 4px;
}

.mda-friend-list::-webkit-scrollbar-thumb:hover {
    background: #2f3136;
}

/* ========================= */
/* PAYMENT MODAL */
/* ========================= */

.mda-payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.mda-payment-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mda-payment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.mda-payment-container {
    position: relative;
    background: #1a1b1e;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border: 1px solid #24252b;
    font-family: 'Righteous', cursive;
}

.mda-payment-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #24252b;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.mda-payment-close:hover {
    background: #f04747;
    transform: rotate(90deg);
}

.mda-payment-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid #24252b;
}

.mda-payment-header h2 {
    color: #fff !important;
    font-size: 25px !important;
    margin: 0 0 15px 0;
}

.mda-payment-header p {
    color: #b0b0d0;
    font-size: 14px;
    margin: 0;
}

.mda-payment-billing-toggle {
    display: flex;
    gap: 12px;
    padding: 24px;
}

.mda-billing-option {
    flex: 1;
    background: #24252b;
    border: 2px solid #24252b;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.mda-billing-option:hover {
    background: #2f3136;
    border-color: #2f3136;
}

.mda-billing-option.active {
    background: rgba(244, 127, 255, 0.1);
    border-color: #715fa9;
}

.mda-billing-label {
    color: #b0b0d0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase !important;
}

.mda-billing-option.active .mda-billing-label {
    color: #715fa9;
    text-transform: uppercase !important;
}

.mda-billing-price {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.mda-billing-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f47fff, #5865F2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(244, 127, 255, 0.4);
    text-transform: uppercase !important;
}

.mda-payment-summary {
    padding: 24px;
    background: #24252b;
    margin: 0 24px 24px;
    border-radius: 12px;
}

.mda-payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #b0b0d0;
    font-size: 14px;
}

.mda-payment-summary-row strong {
    color: #fff;
}

.mda-payment-summary-divider {
    height: 1px;
    background: #2f3136;
    margin: 12px 0;
}

.mda-payment-total {
    font-size: 16px;
    padding-top: 12px;
}

.mda-payment-total span {
    color: #f47fff !important;
    font-size: 20px;
}

.mda-payment-actions {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
}

.mda-payment-actions .mda-core-btn {
    flex: 1;
}

.mda-payment-secure {
    padding: 0px 20px 20px;
    text-align: center;
    color: #72767d;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mda-payment-secure .mda-custom-icon {
    width: 130px !important;
    height: 40px !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .mda-payment-billing-toggle {
        flex-direction: column;
    }

    .mda-payment-actions {
        flex-direction: column;
    }
}

/* ========================= */
/* SUBSCRIPTION MANAGEMENT */
/* ========================= */

.mda-subscription-status {
    padding: 24px;
}

.mda-subscription-loading,
.mda-notifications-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.mda-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #24252b;
    border-top-color: #f47fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.mda-subscription-info {
    padding: 24px;
}

.mda-subscription-card {
    background: #24252b;
    border-radius: 15px;
    padding: 28px;
    margin-bottom: 24px;
}

.mda-subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.mda-subscription-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #715fa9;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(244, 127, 255, 0.3);
}

.badge-svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 5px;
    filter: brightness(0) invert(1);
}

.mda-badge-text {
    color: #fff;
    font-family: 'Exo 2', sans-serif !important;
    font-size: 16px;
    text-transform: uppercase;
}

.copor-brand {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 1em;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 900;
}

/* Stil za "CORE" */
#mda-sub-tier .brand {
    font-weight: 900;
}

/* Stil za "Premium" ili "Standard" */
#mda-sub-tier .tier {
    font-weight: 600;
    margin-left: 4px;
}

#copor-payment-tier-name .brand {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 25px !important;
    letter-spacing: 1px;
    color: #ffffff !important;
    font-weight: 900 !important;
}

#copor-payment-tier-name .tier {
    font-weight: 600 !important;
    margin-left: 0px !important;
    color: #fff !important;
    font-family: 'Exo 2', sans-serif !important;
    font-size: 25px !important;
    text-transform: uppercase !important;
}

.mda-subscription-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #24252b;
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.mda-subscription-status-pill.active .mda-status-dot {
    background: #43b581;
    box-shadow: 0 0 8px #43b581;
}

.mda-subscription-status-pill.cancelled .mda-status-dot {
    background: #f04747;
}

.mda-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43b581;
}

.mda-subscription-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.mda-detail-row {
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mda-detail-row:last-child {
    border-bottom: none;
}

.mda-detail-label {
    color: #b0b0d0;
    font-size: 14px;
}

.mda-detail-row strong {
    color: #fff;
    font-weight: 700;
}

.mda-subscription-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.mda-sub-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mda-detalji-pretplata {
    font-size: 11px;
    color: #b0b0d0;
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
}

.mda-sub-btn {
    flex: 1;
    padding: 15px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mda-sub-btn-upgrade {
    background: linear-gradient(135deg, #7a73ff 0%, #635bff 100%);
    color: #fff;
}

.mda-sub-btn-upgrade:hover {
    background: linear-gradient(135deg, #635bff 0%, #7a73ff 100%);
}

.mda-sub-btn-cancel {
    background: #ff3131;
    color: #ffffff;
    border-radius: 10px;
}

.mda-sub-btn-cancel:hover {
    background: #d62828;
    color: #fff;
}

.mda-sub-btn-stripe {
    background: linear-gradient(135deg, #635bff 0%, #7a73ff 100%);
    color: #fff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.mda-sub-btn-stripe:hover {
    background: linear-gradient(135deg, #7a73ff 0%, #635bff 100%);
    color: #fff;
    text-decoration: none;
}

.mda-subscription-benefits {
    background: #24252b;
    border-radius: 12px;
    padding: 24px;
}

.mda-subscription-benefits h3 {
    color: #fff;
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 900;
}

.mda-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.mda-benefits-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dcddde;
    font-size: 14px;
    padding: 8px 0;
}

.mda-benefit-check {
    font-size: 16px;
}

/* No Subscription State */
.mda-no-subscription {
    text-align: center;
    padding: 60px 24px;
}

.mda-no-sub-icon {
    font-size: 72px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.mda-no-subscription h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 12px 0;
}

.mda-no-subscription p {
    color: #b9bbbe;
    font-size: 16px;
    margin: 0 0 28px 0;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .mda-subscription-actions {
        flex-direction: column;
    }

    .mda-benefits-list {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* TRANSACTION HISTORY */
/* ========================= */

.mda-transactions-container {
    width: 100%;
}

.mda-transactions-loading,
.mda-transactions-empty {
    text-align: center;
    padding: 60px 20px;
}

.mda-transactions-loading .mda-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--mda-core-gradient-start);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mda-transactions-empty .mda-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.mda-transactions-empty h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.mda-transactions-empty p {
    font-size: 14px;
    color: #b0b0d0;
}

.mda-transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mda-transaction-item {
    background: #24252b;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mda-transaction-header {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 16px 20px;
    align-items: center;
}

.mda-transaction-date {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.mda-transaction-description {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mda-transaction-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mda-transaction-status-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mda-transaction-status-icon.status-success {
    background: #43b581;
    box-shadow: 0 0 10px rgba(67, 181, 129, 0.5);
}

.mda-transaction-status-icon.status-failed {
    background: #f04747;
    box-shadow: 0 0 10px rgba(240, 71, 71, 0.5);
}

.mda-transaction-status-icon.status-pending {
    background: #faa61a;
    box-shadow: 0 0 10px rgba(250, 166, 26, 0.5);
}

.mda-transaction-details {
    flex: 1;
}

.mda-transaction-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.mda-transaction-payment {
    font-size: 13px;
    color: #b0b0d0;
}

.mda-transaction-amount {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mda-transaction-price {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    min-width: 80px;
    text-align: right;
}

.mda-transaction-expand-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.mda-transaction-expand-btn svg {
    transition: transform 0.3s ease;
}

.mda-transaction-item.expanded .mda-transaction-expand-btn svg {
    transform: rotate(180deg);
}

.mda-transaction-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #24252b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mda-transaction-item.expanded .mda-transaction-expanded-content {
    max-height: 500px;
}

.mda-transaction-expanded-row {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mda-transaction-expanded-row:last-child {
    border-bottom: none;
}

.mda-transaction-expanded-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #715fa9;
    font-weight: 600;
}

.mda-transaction-expanded-key {
    font-size: 13px;
    color: #b0b0d0;
}

.mda-transaction-expanded-value {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

.mda-error-text {
    color: #f04747 !important;
}

.mda-transaction-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.mda-transaction-status-badge.status-success {
    background: rgba(67, 181, 129, 0.15);
    color: #43b581;
}

.mda-transaction-status-badge.status-failed {
    background: rgba(240, 71, 71, 0.15);
    color: #f04747;
}

.mda-transaction-status-badge.status-pending {
    background: rgba(250, 166, 26, 0.15);
    color: #faa61a;
}

.mda-transaction-download-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.mda-download-btn-success {
    background: linear-gradient(135deg, #43b581, #3a9d6e);
    color: white;
}

.mda-download-btn-success:hover {
    background: linear-gradient(135deg, #3a9d6e, #329a5e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 181, 129, 0.3);
}

.mda-download-btn-failed {
    background: linear-gradient(135deg, #f04747, #d43f3f);
    color: white;
}

.mda-download-btn-failed:hover {
    background: linear-gradient(135deg, #d43f3f, #c23737);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 71, 71, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mda-transaction-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mda-transaction-date {
        font-size: 12px;
    }

    .mda-transaction-amount {
        justify-content: space-between;
    }

    .mda-transaction-price {
        text-align: left;
    }
}