.subscription-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-radius:12px;margin-bottom:20px;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.subscription-banner.expired{background:linear-gradient(135deg,#fee2e2,#fecaca);border:1px solid #f87171}.subscription-banner.expired .banner-icon{background:#dc2626;color:#fff}.subscription-banner.expired h3{color:#991b1b}.subscription-banner.expired p{color:#7f1d1d}.subscription-banner.warning{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fbbf24}.subscription-banner.warning .banner-icon{background:#f59e0b;color:#fff}.subscription-banner.warning h3{color:#92400e}.subscription-banner.warning p{color:#78350f}.banner-content{gap:16px;flex:1;min-width:280px}.banner-content,.banner-icon{display:flex;align-items:center}.banner-icon{width:44px;height:44px;border-radius:50%;justify-content:center;font-size:20px;font-weight:700;flex-shrink:0}.banner-text{flex:1}.banner-text h3{font-size:16px;font-weight:700;margin:0 0 4px}.banner-text p{font-size:14px;margin:0;line-height:1.5}.banner-text p strong{font-weight:600}.banner-actions{display:flex;gap:12px;flex-shrink:0}.renew-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.subscription-banner.expired .renew-btn{background:#dc2626;color:#fff}.subscription-banner.expired .renew-btn:hover:not(:disabled){background:#b91c1c}.subscription-banner.warning .renew-btn{background:#f59e0b;color:#fff}.subscription-banner.warning .renew-btn:hover:not(:disabled){background:#d97706}.renew-btn:disabled{opacity:.6;cursor:not-allowed}.dismiss-btn{padding:10px 16px;background:transparent;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.subscription-banner.warning .dismiss-btn{color:#92400e}.dismiss-btn:hover{background:rgba(0,0,0,.05)}@media (max-width:640px){.subscription-banner{align-items:stretch;padding:20px}.banner-content,.subscription-banner{flex-direction:column;text-align:center}.banner-icon{margin:0 auto}.banner-actions{flex-direction:column;width:100%}.dismiss-btn,.renew-btn{width:100%}}@media (prefers-color-scheme:dark){.subscription-banner.expired{background:linear-gradient(135deg,#450a0a,#7f1d1d);border-color:#b91c1c}.subscription-banner.expired h3{color:#fecaca}.subscription-banner.expired p{color:#fca5a5}.subscription-banner.warning{background:linear-gradient(135deg,#451a03,#78350f);border-color:#b45309}.subscription-banner.warning h3{color:#fde68a}.subscription-banner.warning p{color:#fcd34d}.subscription-banner.warning .dismiss-btn{color:#fde68a}.dismiss-btn:hover{background:hsla(0,0%,100%,.1)}}.subscription-banner-fixed{position:sticky;top:0;z-index:100;margin:0;border-radius:0}.usage-widget{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #e5e7eb}.usage-widget.compact{padding:16px}.usage-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.usage-header h3{font-size:16px;font-weight:600;color:#1f2937;margin:0}.plan-badge{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.plan-badge-starter{background:#f3f4f6;color:#6b7280}.plan-badge-basic{background:#dbeafe;color:#1d4ed8}.plan-badge-pro{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff}.expired-alert{gap:8px;padding:10px 12px;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;color:#dc2626;font-size:13px;font-weight:500}.alert-icon,.expired-alert{display:flex;align-items:center}.alert-icon{width:20px;height:20px;border-radius:50%;background:#dc2626;color:#fff;justify-content:center;font-size:12px;font-weight:700}.usage-items{gap:12px;margin-bottom:16px}.usage-bar-container,.usage-items{display:flex;flex-direction:column}.usage-bar-container{gap:4px}.usage-bar-header{display:flex;justify-content:space-between;align-items:center}.usage-label{font-size:13px;color:#374151;font-weight:500}.usage-value{font-size:12px;color:#6b7280}.usage-breakdown{font-size:11px;color:#9ca3af;margin-top:-2px;padding-left:2px}.usage-bar-track{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.usage-bar-fill{height:100%;border-radius:3px;transition:width .3s ease,background-color .3s ease}.subscription-info{padding-top:12px;border-top:1px solid #e5e7eb;margin-bottom:16px}.expiry-date{font-size:13px;color:#6b7280;margin:0 0 4px}.expiry-date strong{color:#374151}.days-warning{font-size:13px;color:#f59e0b;font-weight:500;margin:0;display:flex;align-items:center;gap:4px}.days-warning:before{content:""}.action-buttons{display:flex;flex-direction:column;gap:8px}.btn-renew,.btn-renew-secondary,.btn-upgrade{width:100%;padding:10px 16px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-upgrade{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.btn-upgrade:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px)}.btn-renew{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-renew:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px)}.btn-renew-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-renew-secondary:hover{background:#e5e7eb}.usage-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:12px}.loading-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.usage-loading span{font-size:14px;color:#6b7280}.usage-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;gap:12px;text-align:center}.usage-error p{font-size:14px;color:#6b7280;margin:0}.usage-error button{padding:8px 16px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.usage-error button:hover{background:#2563eb}.usage-widget.compact .usage-header h3{font-size:14px}.usage-widget.compact .usage-items{gap:8px}.usage-widget.compact .usage-label{font-size:12px}.usage-widget.compact .usage-value{font-size:11px}.usage-widget.compact .usage-bar-track{height:4px}@media (prefers-color-scheme:dark){.usage-widget{background:#1f2937;border-color:#374151}.usage-header h3{color:#f9fafb}.usage-label{color:#d1d5db}.usage-value{color:#9ca3af}.usage-breakdown{color:#6b7280}.usage-bar-track{background:#374151}.subscription-info{border-top-color:#374151}.expiry-date{color:#9ca3af}.expiry-date strong{color:#d1d5db}.btn-renew-secondary{background:#374151;color:#d1d5db;border-color:#4b5563}.btn-renew-secondary:hover{background:#4b5563}.plan-badge-starter{background:#374151;color:#9ca3af}}@media (max-width:480px){.usage-widget{padding:16px;border-radius:10px}.usage-header h3{font-size:15px}.plan-badge{font-size:10px;padding:3px 8px}.usage-items{gap:10px}.action-buttons{flex-direction:row;flex-wrap:wrap}.action-buttons button{flex:1;min-width:120px;padding:10px 12px;font-size:13px}}.limit-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.limit-modal{background:#fff;border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;position:relative;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.close-btn{position:absolute;top:16px;right:16px;width:32px;height:32px;border:none;background:#f3f4f6;border-radius:50%;font-size:24px;line-height:1;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-btn:hover{background:#e5e7eb;color:#374151}.limit-modal-header{padding:32px 24px 24px;text-align:center;border-bottom:1px solid #e5e7eb}.warning-icon{width:56px;height:56px;margin:0 auto 16px;background:linear-gradient(135deg,#fbbf24,#f59e0b);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#fff}.limit-modal-header h2{font-size:24px;font-weight:700;color:#1f2937;margin:0 0 8px}.limit-modal-header p{font-size:15px;color:#6b7280;margin:0}.usage-count{display:inline-block;margin-left:6px;padding:2px 8px;background:#fef3c7;color:#b45309;border-radius:12px;font-size:13px;font-weight:600}.limit-modal-options{padding:24px}.option-toggle{display:flex;gap:8px;margin-bottom:20px;background:#f3f4f6;border-radius:10px;padding:4px}.toggle-btn{flex:1;padding:10px 16px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;background:transparent;color:#6b7280;transition:all .2s ease}.toggle-btn.active{background:#fff;color:#1f2937;box-shadow:0 2px 4px rgba(0,0,0,.1)}.toggle-btn:hover:not(.active){color:#374151}.upgrade-options{display:flex;gap:16px}.plan-card{flex:1;border:2px solid #e5e7eb;border-radius:12px;padding:20px;display:flex;flex-direction:column;transition:all .2s ease}.plan-card:hover{box-shadow:0 4px 12px rgba(59,130,246,.15)}.plan-card.basic,.plan-card:hover{border-color:#3b82f6}.plan-card.pro{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.plan-header{text-align:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.plan-header h3{font-size:18px;font-weight:700;color:#1f2937;margin:0 0 8px}.plan-price{display:flex;align-items:baseline;justify-content:center;gap:2px}.plan-price .currency{font-size:14px;font-weight:600;color:#6b7280}.plan-price .amount{font-size:32px;font-weight:700;color:#1f2937}.plan-price .period{font-size:13px;color:#6b7280}.plan-features{list-style:none;padding:0;margin:0 0 16px;flex:1}.plan-features li{display:flex;align-items:center;gap:8px;font-size:13px;color:#374151;padding:6px 0}.plan-features .check{color:#10b981;font-weight:700}.plan-btn{width:100%;padding:12px 16px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.plan-card.basic .plan-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.plan-card.basic .plan-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8)}.plan-card.pro .plan-btn{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.plan-card.pro .plan-btn:hover{background:linear-gradient(135deg,#d97706,#b45309)}.plan-btn:disabled{opacity:.6;cursor:not-allowed}.addon-options{max-width:400px;margin:0 auto}.addon-card{border:2px solid #e5e7eb;border-radius:12px;padding:24px}.addon-info{text-align:center;margin-bottom:20px}.addon-info h3{font-size:18px;font-weight:700;color:#1f2937;margin:0 0 8px}.addon-price{font-size:15px;color:#6b7280}.quantity-selector{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;margin-bottom:16px}.quantity-selector label{font-size:14px;font-weight:500;color:#374151}.quantity-controls{display:flex;align-items:center;gap:12px}.quantity-controls button{width:36px;height:36px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-size:18px;font-weight:600;color:#374151;cursor:pointer;transition:all .2s ease}.quantity-controls button:hover:not(:disabled){background:#f3f4f6;border-color:#9ca3af}.quantity-controls button:disabled{opacity:.4;cursor:not-allowed}.quantity-controls span{font-size:18px;font-weight:600;color:#1f2937;min-width:40px;text-align:center}.addon-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.addon-total span{font-size:14px;color:#6b7280}.total-price{font-size:20px;font-weight:700;color:#1f2937!important}.addon-btn{width:100%;padding:14px 16px;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#10b981,#059669);color:#fff;transition:all .2s ease;margin-bottom:12px}.addon-btn:hover{background:linear-gradient(135deg,#059669,#047857)}.addon-btn:disabled{opacity:.6;cursor:not-allowed}.addon-note,.modal-footer-note{font-size:12px;color:#9ca3af;text-align:center;margin:0}.modal-footer-note{padding:16px 24px 24px;border-top:1px solid #e5e7eb}@media (max-width:600px){.limit-modal{border-radius:16px 16px 0 0;max-height:95vh;align-self:flex-end;margin-bottom:0}.limit-modal-header{padding:24px 20px 20px}.limit-modal-header h2{font-size:20px}.limit-modal-options{padding:20px}.upgrade-options{flex-direction:column}.plan-card{padding:16px}.plan-header h3{font-size:16px}.plan-price .amount{font-size:28px}.toggle-btn{padding:8px 12px;font-size:13px}}@media (prefers-color-scheme:dark){.limit-modal{background:#1f2937}.limit-modal-header{border-bottom-color:#374151}.limit-modal-header h2{color:#f9fafb}.limit-modal-header p{color:#9ca3af}.usage-count{background:#78350f;color:#fde68a}.option-toggle{background:#374151}.toggle-btn{color:#9ca3af}.toggle-btn.active{background:#4b5563;color:#f9fafb}.plan-card{border-color:#374151}.plan-card.pro{background:linear-gradient(135deg,#1f2937,#292524)}.plan-header{border-bottom-color:#374151}.plan-header h3,.plan-price .amount{color:#f9fafb}.plan-features li{color:#d1d5db}.addon-card{border-color:#374151}.addon-info h3{color:#f9fafb}.quantity-selector{border-color:#374151}.quantity-selector label{color:#d1d5db}.quantity-controls button{background:#374151;border-color:#4b5563;color:#d1d5db}.quantity-controls span{color:#f9fafb}.total-price{color:#f9fafb!important}.modal-footer-note{border-top-color:#374151}.close-btn{background:#374151;color:#9ca3af}.close-btn:hover{background:#4b5563;color:#d1d5db}}