#mindweco-stripe-settings-wrapper .mindweco-nav-tabs {
    margin-bottom: 0;
    border-bottom: none;
    display: flex;
    gap: 8px;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
    padding: 8px 8px 0 8px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
    flex: 1;
}

#mindweco-stripe-settings-wrapper .mindweco-nav-tab {
    padding: 14px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 12px 12px 0 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}

#mindweco-stripe-settings-wrapper .nav-tab-wrapper,
#mindweco-stripe-settings-wrapper .wrap h2.nav-tab-wrapper,
#mindweco-stripe-settings-wrapper h1.nav-tab-wrapper {
    border-bottom: 1px solid #c3c4c7;
    padding-top: 9px;
    padding-bottom: 0;
    line-height: inherit;
    margin: 20px 0;
}

#mindweco-stripe-settings-wrapper .mindweco-nav-tab i {
    font-size: 16px;
}

.mindweco-spinner-inline {
    margin-right: 5px;
    vertical-align: middle;
} 

#mindweco-stripe-settings-wrapper .mindweco-nav-tab:hover {
    color: #64748b;
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

#mindweco-stripe-settings-wrapper .mindweco-nav-tab.nav-tab-active,
#mindweco-stripe-settings-wrapper .mindweco-nav-tab-active {
    color: #64748b !important;
    background: #ffffff !important;
    box-shadow:
        0 -3px 10px rgba(37, 99, 235, 0.1),
        0 3px 0 0 #64748b inset !important;
    border-bottom: 3px solid #64748b !important;
}

#mindweco-stripe-settings-wrapper .mindweco-card {
    max-width: 100%;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

#mindweco-stripe-settings-wrapper .mindweco-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#mindweco-stripe-settings-wrapper .mindweco-card h3,
#mindweco-stripe-settings-wrapper .mindweco-card h4 {
    margin-top: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mindweco-stripe-settings .mindweco-card-subscriptions {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%) !important;
    color: white;
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

#mindweco-stripe-settings-wrapper .form-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1.2rem;
}

#mindweco-stripe-settings-wrapper .form-table tr th {
    width: 180px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
    color: #334155;
    text-align: left;
    vertical-align: middle;
    border-radius: 8px 0 0 8px;
}

#mindweco-stripe-settings-wrapper .form-table tr td {
    padding: 0.9rem 1.2rem;
    border-radius: 0 8px 8px 0;
}

#mindweco-stripe-settings-wrapper .form-table input[type="text"],
#mindweco-stripe-settings-wrapper .form-table input[type="url"],
#mindweco-stripe-settings-wrapper .form-table input[type="password"] {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.25s ease;
    background: #f8fafc;
    width: 100%;
    max-width: 500px;
}

#mindweco-stripe-settings-wrapper .form-table input:focus {
    outline: none;
    border-color: #64748b;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: white;
}

#mindweco-stripe-settings-wrapper .form-table input[readonly] {
    background-color: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

#mindweco-stripe-settings-wrapper .form-table .description {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
}

#mindweco-stripe-settings-wrapper .subscription-header-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 0 4px;
    position: relative;
}

#mindweco-stripe-settings-wrapper .subscription-header-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.15), transparent);
}

#mindweco-stripe-settings-wrapper .subscription-info-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mindweco-stripe-settings-wrapper .subscription-info-block h1 {
    margin: 0;
    font-weight: 600;
    border: none;
    padding: 0;
    font-size: 20px;
    color: #0f172a;
}

#mindweco-stripe-settings-wrapper .subscription-info-block p {
    margin: 8px 0;
    line-height: 1.6;
}

#mindweco-stripe-settings-wrapper .subscription-expire-badge {
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #fecaca;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.1);
}

#mindweco-stripe-settings-wrapper .btn-buy-trial {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #64748b 0%, #1d4ed8 100%);
    color: white !important;
    padding: 8px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

#mindweco-stripe-settings-wrapper .btn-buy-trial:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white !important;
}

#mindweco-stripe-settings-wrapper .btn-buy-trial:active {
    transform: translateY(-1px);
}

#mindweco-stripe-settings-wrapper .btn-buy-trial i {
    font-size: 18px;
}

#mindweco-stripe-settings-wrapper .btn-buy-trial p {
    margin: 0;
}

#mindweco-stripe-settings-wrapper #start-trial-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mindweco-stripe-settings-wrapper #refresh-plugin {
    align-items: center;
    gap: 8px;

    background: linear-gradient(135deg, #1a365d 0%, #2a4a7f 100%);
    color: #e8f0fb;
    border: none;
    border-radius: 8px;
    padding: 9px 9px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;

    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
#mindweco-stripe-settings-wrapper #refresh-plugin:hover {
    background: linear-gradient(135deg, #1e3f6e 0%, #2f569a 100%);
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.45),
                inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
#mindweco-stripe-settings-wrapper #refresh-plugin:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(26, 54, 93, 0.3);
}

#mindweco-stripe-settings-wrapper .buy_subscription {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: linear-gradient(135deg, #1a9e5c 0%, #22c46f 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.03em;

    box-shadow: 0 2px 8px rgba(26, 158, 92, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

#mindweco-stripe-settings-wrapper .buy_subscription::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.4s ease;
    pointer-events: none;
}

#mindweco-stripe-settings-wrapper #start-trial-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

#mindweco-stripe-settings-wrapper #table-logs {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: 25px;
}
#mindweco-stripe-settings-wrapper #table-subscription {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: 0px;
}

#mindweco-stripe-settings-wrapper #table-subscription thead tr,
#mindweco-stripe-settings-wrapper #table-logs thead tr {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%) !important;
}

#mindweco-stripe-settings-wrapper #table-subscription thead th,
#mindweco-stripe-settings-wrapper #table-logs thead th {
    color: white;
    font-weight: 700;
    padding: 16px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #0f172a;
}

#mindweco-stripe-settings-wrapper #table-subscription tbody tr,
#mindweco-stripe-settings-wrapper #table-logs tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

#mindweco-stripe-settings-wrapper #table-subscription tbody tr:hover {
    background-color: #f0f9ff !important;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

#mindweco-stripe-settings-wrapper #table-subscription tbody td,
#mindweco-stripe-settings-wrapper #table-logs tbody td {
    padding: 16px 18px;
    font-size: 14px;
    color: #334155;
    vertical-align: middle;
}

#mindweco-stripe-settings-wrapper #table-subscription tbody tr:last-child,
#mindweco-stripe-settings-wrapper #table-logs tbody tr:last-child {
    border-bottom: none;
}

#mindweco-stripe-settings-wrapper .badge {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

#mindweco-stripe-settings-wrapper .badge.bg-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white;
}

#mindweco-stripe-settings-wrapper .badge.bg-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    color: white;
}

#mindweco-stripe-settings-wrapper .badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white;
}

#mindweco-stripe-settings-wrapper .badge.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white;
}

#mindweco-stripe-settings-wrapper .badge.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white;
}

#mindweco-stripe-settings-wrapper #table-subscription .btn {
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease;
}

#mindweco-stripe-settings-wrapper #table-subscription .btn-light {
    background: white;
    color: #475569;
    border-color: #cbd5e1;
}

#mindweco-stripe-settings-wrapper #table-subscription .btn-light:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#mindweco-stripe-settings-wrapper .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#mindweco-stripe-settings-wrapper .modal-header {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%) !important;
    color: #fff;
    font-weight: 700;
    padding: 20px 24px;
    border-bottom: none;
}

#mindweco-stripe-settings-wrapper .modal-header .modal-title {
    font-size: 20px;
}

#mindweco-stripe-settings-wrapper .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#mindweco-stripe-settings-wrapper .modal-header .btn-close:hover {
    opacity: 1;
}

#mindweco-stripe-settings-wrapper .modal-body {
    padding: 28px 24px;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

#mindweco-stripe-settings-wrapper .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

#mindweco-stripe-settings-wrapper .modal-footer .btn {
    min-width: 120px;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.25s ease;
}

#mindweco-stripe-settings-wrapper .modal-footer .btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #cbd5e1;
}

#mindweco-stripe-settings-wrapper .modal-footer .btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

#mindweco-stripe-settings-wrapper .modal-footer .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
}

#mindweco-stripe-settings-wrapper .modal-footer .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

#mindweco-stripe-settings-wrapper .modal-footer .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
}

#mindweco-stripe-settings-wrapper .modal-footer .btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

#mindweco-stripe-settings-wrapper .text-warning {
    padding: 16px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

#mindweco-stripe-settings-wrapper .text-success {
    color: #059669 !important;
}

@media (max-width: 768px) {
    #mindweco-stripe-settings-wrapper .mindweco-nav-tabs {
        flex-direction: column;
        padding: 8px;
    }

    #mindweco-stripe-settings-wrapper .mindweco-nav-tab {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 6px;
        justify-content: center;
    }

    #mindweco-stripe-settings-wrapper .mindweco-nav-tab.nav-tab-active {
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    }

    #mindweco-stripe-settings-wrapper .mindweco-card {
        padding: 20px 16px;
    }

    #mindweco-stripe-settings-wrapper .subscription-header-wrapper {
        padding: 16px;
        display: flex;
        flex-direction: column;
    }

    #mindweco-stripe-settings-wrapper .form-table tr th,
    #mindweco-stripe-settings-wrapper .form-table tr td {
        display: block;
        width: 100%;
        padding: 12px;
    }

    #mindweco-stripe-settings-wrapper .form-table tr th {
        border-radius: 8px 8px 0 0;
    }

    #mindweco-stripe-settings-wrapper .form-table tr td {
        border-radius: 0 0 8px 8px;
        margin-bottom: 16px;
    }

    #mindweco-stripe-settings-wrapper #table-subscription,
    #mindweco-stripe-settings-wrapper #table-logs {
        font-size: 12px;
    }

    #mindweco-stripe-settings-wrapper #table-subscription thead th,
    #mindweco-stripe-settings-wrapper #table-logs thead th {
        padding: 12px 10px;
        font-size: 11px;
    }

    #mindweco-stripe-settings-wrapper #table-subscription tbody td,
    #mindweco-stripe-settings-wrapper #table-logs tbody td {
        padding: 12px 10px;
    }
}

#mindweco-stripe-settings-wrapper .mindweco-stripe-settings {
    padding: 2rem;
    min-height: 100vh;
}

#mindweco-stripe-settings-wrapper .wrap.mindweco-stripe-settings {
    border-radius: 20px;
    padding: 40px 30px;
}

#mindweco-stripe-settings-wrapper
    .wrap.mindweco-stripe-settings
    > .mindweco-card:first-child {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

#mindweco-stripe-settings-wrapper
    .wrap.mindweco-stripe-settings
    > .mindweco-card:first-child
    h4 {
    color: white;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#mindweco-stripe-settings-wrapper .spinner.is-active {
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMCIgY3k9IjEwIiByPSI5IiBmaWxsPSJub25lIiBzdHJva2U9IiMyNTYzZWIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWRhc2hhcnJheT0iMTQgMzAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGZyb209IjAgMTAgMTAiIHRvPSIzNjAgMTAgMTAiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9jaXJjbGU+PC9zdmc+");
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

#mindweco-stripe-settings-wrapper #table-subscription tbody tr td[colspan],
#mindweco-stripe-settings-wrapper #table-logs tbody tr td[colspan] {
    text-align: center;
    padding: 40px 20px;
    font-size: 15px;
}

#mindweco-stripe-settings-wrapper
    #table-subscription
    tbody
    tr
    td[colspan]
    .dashicons,
#mindweco-stripe-settings-wrapper #table-logs tbody tr td[colspan] .dashicons {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.6;
}

#mindweco-stripe-settings-wrapper #add-trial-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#mindweco-stripe-settings-wrapper #add-trial-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

#mindweco-stripe-settings-wrapper #add-trial-btn .dashicons {
    font-size: 20px;
}

#mindweco-stripe-settings-wrapper .table-responsive {
    width: 100%;
    overflow-x: auto;
}

#mindweco-stripe-settings-wrapper .table-responsive table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    #mindweco-stripe-settings-wrapper #table-subscription thead th {
        font-size: 12px;
        padding: 10px;
    }

    #mindweco-stripe-settings-wrapper #table-subscription tbody td {
        font-size: 12px;
        padding: 8px 10px;
    }
}

#mindweco-stripe-settings-wrapper .paragraph-info {
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    margin: 4px 0;
    line-height: 1.6;
}
#mindweco-stripe-settings-wrapper .custom-heading {
    color: #1e293b;
}

.subscription-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.subscription-card-wrapper {
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.subscription-card-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.subscription-main-card {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 20px;
    background: #ffffff;
}

.subscription-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f9fc;
    border-radius: 50%;
}

.subscription-icon i {
    font-size: 24px;
    color: #00d924;
}

.subscription-info {
    flex: 1;
    min-width: 0;
}

.subscription-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.subscription-type {
    font-size: 16px;
    font-weight: 600;
    color: #1a1f36;
}

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

.badge-status.active {
    background: #d4edda;
    color: #155724;
}

.badge-status.cancelled {
    background: #fff3cd;
    color: #856404;
}

.badge-status.expired {
    background: #f8d7da;
    color: #721c24;
}

.subscription-dates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #6b7c93;
    margin-bottom: 4px;
}

.date-item {
    display: flex;
    gap: 4px;
}

.date-label {
    color: #8898aa;
}

.date-value {
    color: #525f7f;
    font-weight: 500;
}

.date-separator {
    color: #d1d5db;
}

.next-payment {
    font-size: 13px;
    color: #525f7f;
    margin-top: 4px;
}

.subscription-price {
    flex-shrink: 0;
    text-align: right;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #1a1f36;
}

.subscription-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.btn-cancel-subscription,
.btn-activate-subscription,
.btn-toggle-invoices {
    padding: 10px 16px;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-cancel-subscription {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-cancel-subscription:hover {
    background: #dc3545;
    color: #ffffff;
}

.btn-activate-subscription {
    color: #28a745;
    border-color: #28a745;
}

.btn-activate-subscription:hover {
    background: #28a745;
    color: #ffffff;
}

.btn-toggle-invoices {
    color: #525f7f;
}

.btn-toggle-invoices:hover {
    background: #f6f9fc;
    border-color: #c7cdd8;
}

.btn-toggle-invoices i {
    transition: transform 0.3s ease;
}

.invoices-section {
    background: #f6f9fc;
    border-top: 1px solid #e6ebf1;
    padding: 0;
}

.invoice-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #e6ebf1;
}

.invoice-item:last-child {
    border-bottom: none;
}

.invoice-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 6px;
}

.invoice-icon i {
    font-size: 20px;
    color: #6b7c93;
}

.invoice-details {
    flex: 1;
    min-width: 0;
}

.invoice-id {
    font-size: 14px;
    font-weight: 600;
    color: #1a1f36;
    margin-bottom: 4px;
}

.invoice-meta {
    font-size: 13px;
    color: #8898aa;
    display: flex;
    gap: 8px;
}

.btn-download-invoice {
    padding: 8px 16px;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    background: #ffffff;
    color: #525f7f;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-download-invoice:hover {
    background: #f6f9fc;
    border-color: #c7cdd8;
}

.empty-state-card,
.loading-card,
.error-card {
    padding: 60px 40px;
    text-align: center;
    background: #f6f9fc;
    border-radius: 8px;
}

.empty-state-card i,
.loading-card .spinner,
.error-card i {
    font-size: 48px;
    color: #8898aa;
    margin-bottom: 16px;
    display: block;
}

.empty-state-card h3 {
    color: #1a1f36;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.empty-state-card p,
.loading-card p,
.error-card p {
    color: #6b7c93;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.btn-add-trial {
    background: #635bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add-trial:hover {
    background: #5048e5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

.loading-card .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-card {
    border-color: #dc3545;
    background: #fff5f5;
}

.error-card i {
    color: #dc3545;
}

@media (max-width: 1024px) {
    .subscription-main-card {
        flex-wrap: wrap;
    }

    .subscription-info {
        flex-basis: 100%;
        order: 1;
    }

    .subscription-price {
        order: 2;
    }

    .subscription-actions {
        order: 3;
        flex-basis: 100%;
        flex-direction: row;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .subscription-main-card {
        padding: 16px;
    }

    .subscription-dates {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .date-separator {
        display: none;
    }

    .subscription-actions {
        flex-direction: column;
    }

    .invoice-item {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .invoice-details {
        flex-basis: 100%;
        order: 1;
    }

    .btn-download-invoice {
        order: 2;
        flex-basis: 100%;
        margin-top: 8px;
    }
}

.logs-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.log-card {
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.log-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.log-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f9fc;
    border-radius: 6px;
}

.log-card-icon i {
    font-size: 18px;
    color: #6b7c93;
}

.log-card-content {
    flex: 1;
    min-width: 0;
}

.log-date {
    font-size: 13px;
    font-weight: 600;
    color: #525f7f;
    margin-bottom: 4px;
}

.log-message {
    font-size: 14px;
    color: #6b7c93;
    line-height: 1.5;
    margin: 0;
}

.smartmind-link {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(79, 70, 229, 0.4);
    transition: all 0.2s ease-in-out;
}

.smartmind-link:hover {
    color: #3730a3;
    border-bottom-color: #3730a3;
}
