/* WooCommerce Custom Styles for SaaS Remote Desktop Theme */

/* Global Text Color Fixes */
.woocommerce, 
.woocommerce-page {
    color: #fff !important;
}

.woocommerce *,
.woocommerce-page * {
    color: inherit;
}

/* Override any theme container restrictions for checkout */
.woocommerce-checkout-page,
.woocommerce-page.woocommerce-checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-page .site-content,
.woocommerce-page.woocommerce-checkout .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure all text elements are visible - BUT EXCLUDE pricing page */
.woocommerce h1:not(.pricing-page *), .woocommerce h2:not(.pricing-page *), .woocommerce h3:not(.pricing-page *), 
.woocommerce h4:not(.pricing-page *), .woocommerce h5:not(.pricing-page *), .woocommerce h6:not(.pricing-page *),
.woocommerce p:not(.pricing-page *), .woocommerce span:not(.pricing-page *), .woocommerce div:not(.pricing-page *), 
.woocommerce li:not(.pricing-page *), .woocommerce td:not(.pricing-page *), .woocommerce th:not(.pricing-page *) {
    color: #fff !important;
}

/* PRICING PAGE SPECIFIC FIXES - HIGHEST PRIORITY */
body.page-template-page-pricing .pricing-card,
body.page-template-page-pricing .pricing-card *,
.pricing-page .pricing-card,
.pricing-page .pricing-card *,
.pricing-card.glass-card,
.pricing-card.glass-card * {
    color: #2d3748 !important;
}

body.page-template-page-pricing .pricing-card .plan-name,
body.page-template-page-pricing .pricing-card h3,
.pricing-page .pricing-card .plan-name,
.pricing-page .pricing-card h3,
.pricing-card.glass-card .plan-name,
.pricing-card.glass-card h3 {
    color: #2d3748 !important;
}

body.page-template-page-pricing .pricing-card .amount,
body.page-template-page-pricing .pricing-card .currency,
.pricing-page .pricing-card .amount,
.pricing-page .pricing-card .currency,
.pricing-card.glass-card .amount,
.pricing-card.glass-card .currency {
    color: #667eea !important;
}

body.page-template-page-pricing .pricing-card .period,
body.page-template-page-pricing .pricing-card .plan-description,
body.page-template-page-pricing .pricing-card .plan-features li,
.pricing-page .pricing-card .period,
.pricing-page .pricing-card .plan-description,
.pricing-page .pricing-card .plan-features li,
.pricing-card.glass-card .period,
.pricing-card.glass-card .plan-description,
.pricing-card.glass-card .plan-features li {
    color: #4a5568 !important;
}

/* Fix "Start your subscription immediately" text */
body.page-template-page-pricing .plan-note,
.pricing-page .plan-note,
.pricing-card .plan-note {
    color: #4a5568 !important;
}

/* Fix FAQ section text */
body.page-template-page-pricing .faq-item,
body.page-template-page-pricing .faq-item *,
.pricing-page .faq-item,
.pricing-page .faq-item *,
.pricing-additional .faq-item,
.pricing-additional .faq-item * {
    color: #2d3748 !important;
}

body.page-template-page-pricing .faq-item h4,
.pricing-page .faq-item h4,
.pricing-additional .faq-item h4 {
    color: #2d3748 !important;
}

body.page-template-page-pricing .faq-item p,
.pricing-page .faq-item p,
.pricing-additional .faq-item p {
    color: #4a5568 !important;
}

/* Keep hero section text white */
body.page-template-page-pricing .pricing-page > section:first-child h1,
body.page-template-page-pricing .pricing-page > section:first-child h2,
body.page-template-page-pricing .pricing-page > section:first-child p,
.pricing-page > section:first-child h1,
.pricing-page > section:first-child h2,
.pricing-page > section:first-child p {
    color: #fff !important;
}

/* Cart and Checkout Styles */
.woocommerce {
    color: #fff;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.woocommerce .woocommerce-error {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

.woocommerce .woocommerce-message {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Form Styles */
.woocommerce form .form-row {
    margin-bottom: 25px;
}

.woocommerce form .form-row label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce form .form-row label .required {
    color: #ff6b6b;
    margin-left: 4px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: 16px 20px;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.woocommerce form .form-row-wide,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 100%;
    float: none;
    margin-right: 0;
}

.woocommerce form .form-row-first {
    margin-right: 4%;
    width: 48%;
    float: left;
}

.woocommerce form .form-row-last {
    width: 48%;
    float: right;
}

/* Button Styles */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Cart Table */
.woocommerce table.cart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce table.cart th,
.woocommerce table.cart td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
}

.woocommerce table.cart th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.woocommerce table.cart img {
    border-radius: 8px;
}

/* Checkout Styles */
.woocommerce-checkout-page .container,
.woocommerce-checkout-page .checkout-container {
    max-width: 1400px !important;
    margin: 40px auto !important;
    padding: 40px !important;
    width: 100% !important;
}

/* Override any global container restrictions */
.woocommerce-checkout-page {
    padding: 0 !important;
}

.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 50px !important;
    margin-top: 40px !important;
    align-items: start !important;
    width: 100% !important;
}

.woocommerce-checkout .col2-set {
    display: contents !important;
    width: 100% !important;
}

.woocommerce-checkout .col-1 {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    max-width: none !important;
}

.woocommerce-checkout .col-2 {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    backdrop-filter: blur(20px) !important;
    position: sticky !important;
    top: 100px !important;
    width: 100% !important;
    max-width: none !important;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
    color: #667eea !important;
    margin-bottom: 30px !important;
    font-size: 1.5rem !important;
    margin-top: 0 !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    width: 100% !important;
}

/* Fix form row alignment */
.woocommerce form .form-row {
    width: 100% !important;
    clear: both !important;
    margin: 0 0 1rem 0 !important;
    box-sizing: border-box !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: 48% !important;
    float: left !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce form .form-row-first {
    margin-right: 4% !important;
}

.woocommerce form .form-row-wide {
    width: 100% !important;
    clear: both !important;
    margin-right: 0 !important;
}

/* Clear float after form rows */
.woocommerce form .form-row:after,
.woocommerce-checkout .col-1:after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

#order_review_heading {
    color: #667eea;
    font-size: 1.4rem;
    margin-bottom: 25px;
    margin-top: 0;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.woocommerce-checkout-review-order {
    background: transparent;
    border: none;
    padding: 0;
}

.woocommerce-checkout-review-order-table {
    background: transparent;
    border: none;
    width: 100%;
    margin-bottom: 0;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    color: #fff;
    vertical-align: middle;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    font-weight: 600;
}

.order-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #667eea;
}

.order-total th,
.order-total td {
    border-bottom: none !important;
    padding-top: 20px !important;
    font-size: 1.2rem;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
    padding: 0;
    margin: 0 0 25px 0;
    list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.woocommerce-checkout #payment ul.payment_methods li label {
    padding: 20px 25px;
    display: block;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff !important;
    padding: 25px;
    margin: 15px 0;
    backdrop-filter: blur(10px);
}

.woocommerce-checkout #payment div.payment_box p,
.woocommerce-checkout #payment div.payment_box span,
.woocommerce-checkout #payment div.payment_box div {
    color: #fff !important;
}

/* Fix checkout form text colors */
.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    color: #fff !important;
}

.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    color: #fff !important;
    margin-bottom: 20px;
}

.woocommerce-checkout table,
.woocommerce-checkout table th,
.woocommerce-checkout table td,
.woocommerce-checkout table tfoot th,
.woocommerce-checkout table tfoot td {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.woocommerce-checkout #payment #place_order {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.woocommerce-checkout #payment #place_order:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

/* My Account Styles */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 0;
    margin-bottom: 30px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
}

/* Subscription Styles */
.woocommerce-subscriptions-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-subscriptions-table th,
.woocommerce-subscriptions-table td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #fff;
}

.woocommerce-subscriptions-table th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.subscription-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.subscription-status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.subscription-status.cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.subscription-status.on-hold {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

/* Product Card Styles */
.woocommerce-subscription-product {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce-subscription-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.woocommerce-subscription-product h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.woocommerce-subscription-product .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 20px 0;
}

.woocommerce-subscription-product .price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.woocommerce-subscription-product .period {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.woocommerce-subscription-product ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.woocommerce-subscription-product ul li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.woocommerce-subscription-product ul li::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .woocommerce-checkout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .woocommerce-checkout .col-2 {
        position: static !important;
    }
    
    .woocommerce-checkout-page .container,
    .woocommerce-checkout-page .checkout-container {
        padding: 30px !important;
        margin: 30px auto !important;
    }
}

@media (max-width: 768px) {
    .woocommerce-checkout-page .container,
    .woocommerce-checkout-page .checkout-container {
        padding: 20px !important;
        margin: 20px auto !important;
    }
    
    .woocommerce-checkout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 20px !important;
    }
    
    .woocommerce-checkout .col-1,
    .woocommerce-checkout .col-2 {
        padding: 25px 20px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    .woocommerce-checkout-review-order {
        padding: 0 !important;
        width: 100% !important;
    }
    
    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
    
    .woocommerce table.cart {
        font-size: 0.9rem;
    }
    
    .woocommerce table.cart th,
    .woocommerce table.cart td {
        padding: 10px 8px;
    }
    
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }
}

/* Loading States */
.woocommerce .blockUI.blockOverlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

.woocommerce .loader {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #667eea;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

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

/* Custom Styling for Better Integration */
.woocommerce .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.woocommerce .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce .section-header h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.woocommerce .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Notification Styles */
.woocommerce-subscription-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.woocommerce-subscription-notification.show {
    transform: translateX(0);
}

.woocommerce-subscription-notification.error {
    background: rgba(244, 67, 54, 0.9);
    border-left-color: #f44336;
}

/* Subscription Management Styles */
.saas-subscriptions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.subscription-header {
    text-align: center;
    margin-bottom: 40px;
}

.subscription-header h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.subscription-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.current-subscription {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.current-subscription h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.subscription-details .plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-name h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 1.4rem;
}

.plan-price {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.inactive {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.billing-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.billing-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.billing-item .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.billing-item .value {
    color: #fff;
    font-weight: 600;
}

.plan-features h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.plan-features li i {
    color: #4CAF50;
    margin-right: 12px;
    width: 16px;
}

.subscription-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.no-subscription {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.empty-state h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.plan-options {
    margin-bottom: 40px;
}

.plan-options h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.plan-card.current-plan {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.plan-header h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.plan-price {
    margin-bottom: 25px;
}

.plan-price .currency {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    vertical-align: top;
}

.plan-price .amount {
    color: #667eea;
    font-size: 2.5rem;
    font-weight: 700;
}

.plan-price .period {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.plan-features ul {
    text-align: left;
    margin-bottom: 30px;
}

.billing-history {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.billing-history h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.billing-table-content {
    width: 100%;
    border-collapse: collapse;
}

.billing-table-content th,
.billing-table-content td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.billing-table-content th {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.billing-table-content td {
    color: #fff;
}

.billing-table-content .btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .billing-info {
        grid-template-columns: 1fr;
    }
    
    .subscription-actions {
        flex-direction: column;
    }
    
    .plan-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .billing-table-content {
        font-size: 0.9rem;
    }
    
    .billing-table-content th,
    .billing-table-content td {
        padding: 10px 8px;
    }
}
