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

/* Hero Card */
.mda-core-hero {
    background: linear-gradient(135deg, #f47fff 0%, #5865F2 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(244, 127, 255, 0.3);
}

.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;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mda-core-price {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    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: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mda-core-btn-primary {
    background: #fff;
    color: #f47fff;
}

.mda-core-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mda-core-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mda-core-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Hero Image */
.mda-core-hero-image {
    flex-shrink: 0;
}

.mda-core-mascot {
    font-size: 120px;
    text-align: center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

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

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

/* Friend Gifting Section */
.mda-core-gifting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.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-gift-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f47fff, #5865F2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.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-counter {
    background: #24252b;
    padding: 8px 16px;
    border-radius: 8px;
    color: #b9bbbe;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.mda-core-btn-gift {
    background: linear-gradient(135deg, #f47fff, #5865F2);
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
    flex-shrink: 0;
}

.mda-core-btn-gift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 127, 255, 0.4);
}

/* 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: #b9bbbe;
    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 {
    color: #43b581;
    font-size: 24px;
}

.mda-pricing-cross {
    color: #f04747;
    font-size: 24px;
}

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

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

.mda-core-btn-purchase:hover {
    background: #ff8cff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 127, 255, 0.4);
}

.mda-core-btn-purchase-premium {
    background: linear-gradient(135deg, #f47fff, #5865F2);
}

.mda-core-btn-purchase-premium:hover {
    box-shadow: 0 4px 16px rgba(244, 127, 255, 0.5);
}

/* 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-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-friend-selector-close:hover {
    background: #f04747;
    transform: rotate(90deg);
}

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

.mda-friend-selector-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 8px 0;
}

.mda-friend-selector-header p {
    color: #b9bbbe;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.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: #b9bbbe;
    font-size: 14px;
}

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

.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;
}

.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: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.mda-friend-username {
    color: #72767d;
    font-size: 13px;
}

.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;
}

.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;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px 0;
}

.mda-payment-header h2 span {
    background: linear-gradient(135deg, #f47fff, #5865F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mda-payment-header p {
    color: #b9bbbe;
    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: #f47fff;
}

.mda-billing-label {
    color: #b9bbbe;
    font-size: 13px;
    font-weight: 600;
}

.mda-billing-option.active .mda-billing-label {
    color: #f47fff;
}

.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: 12px;
    box-shadow: 0 2px 8px rgba(244, 127, 255, 0.4);
}

.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: #b9bbbe;
    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: 16px 24px 24px;
    text-align: center;
    color: #72767d;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mda-secure-icon {
    font-size: 14px;
}

/* 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 {
    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: linear-gradient(135deg, rgba(244, 127, 255, 0.05), rgba(88, 101, 242, 0.05));
    border: 1px solid rgba(244, 127, 255, 0.2);
    border-radius: 16px;
    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: linear-gradient(135deg, #f47fff, #5865F2);
    padding: 10px 20px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(244, 127, 255, 0.3);
}

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

.mda-badge-text {
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
}

.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 {
    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: #b9bbbe;
    font-size: 14px;
}

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

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

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

.mda-sub-btn-upgrade {
    background: linear-gradient(135deg, #f47fff, #5865F2);
    color: #fff;
}

.mda-sub-btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(244, 127, 255, 0.4);
}

.mda-sub-btn-cancel {
    background: #24252b;
    color: #b9bbbe;
    border: 1px solid #2f3136;
}

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

.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%;
    max-width: 900px;
}

.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: rgba(255, 255, 255, 0.9);
}

.mda-transactions-empty p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

.mda-transaction-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mda-transaction-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.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: rgba(255, 255, 255, 0.6);
    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: rgba(255, 255, 255, 0.5);
}

.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: rgba(0, 0, 0, 0.2);
    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: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.mda-transaction-expanded-key {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.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;
    }
}
