.project-billing-card{background:#fff;border-radius:.5rem;box-shadow:0 .125rem .25rem #00000013;border:.0625rem solid #e9ecef;padding:1.5rem;margin:1rem 0}.project-billing-card.pro{border-color:#28a745;box-shadow:0 .125rem .25rem #28a74526}.project-billing-card.error{border-color:#dc3545;background-color:#f8f9fa}.billing-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.tier-info h3{margin:0 0 .5rem;font-size:1.25rem;font-weight:600;color:#495057}.pro-badge{background:#28a745;color:#fff;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:600;margin-left:.5rem}.billing-owner{margin:0;color:#6c757d;font-size:.875rem}.billing-actions{display:flex;gap:.75rem;flex-wrap:wrap}.owner-actions{display:flex;gap:.5rem;flex-wrap:wrap}.upgrade-btn{background:#28a745;color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out}.upgrade-btn:hover{background:#218838}.transfer-btn{background:#6c757d;color:#fff;border:none;padding:.375rem .75rem;border-radius:.25rem;font-size:.875rem;cursor:pointer;transition:background-color .15s ease-in-out}.transfer-btn:hover{background:#5a6268}.cancel-btn{background:#dc3545;color:#fff;border:none;padding:.375rem .75rem;border-radius:.25rem;font-size:.875rem;cursor:pointer;transition:background-color .15s ease-in-out}.cancel-btn:hover{background:#c82333}.retry-btn{background:#007bff;color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer;margin-top:.5rem}.pending-transfers{background:#fff3cd;border:.0625rem solid #ffeaa7;border-radius:.25rem;padding:1rem;margin-bottom:1.5rem}.pending-transfers h4{margin:0 0 .75rem;color:#856404;font-size:1rem}.transfer-item{background:#fff;padding:.75rem;border-radius:.25rem;margin-bottom:.5rem}.transfer-item:last-child{margin-bottom:0}.transfer-item p{margin:0 0 .25rem;font-size:.875rem}.transfer-item p:last-child{margin:0;color:#6c757d}.quota-section{margin-bottom:1.5rem}.quota-section h4{margin:0 0 1rem;color:#495057;font-size:1rem;font-weight:600}.quota-item{margin-bottom:1rem}.quota-item:last-child{margin-bottom:0}.quota-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.875rem}.quota-header span:first-child{font-weight:500;color:#495057}.quota-header span:last-child{color:#6c757d;font-family:monospace}.quota-bar{width:100%;height:.5rem;background:#e9ecef;border-radius:.25rem;overflow:hidden}.quota-fill{height:100%;transition:width .3s ease-in-out;border-radius:.25rem}.quota-fill.storage{background:linear-gradient(90deg,#28a745,#20c997)}.quota-fill.ai-tokens{background:linear-gradient(90deg,#007bff,#6610f2)}.quota-fill[style*="width: 8"],.quota-fill[style*="width: 9"],.quota-fill[style*="width: 100"]{background:linear-gradient(90deg,#ffc107,#fd7e14)!important}.quota-fill[style*="width: 100%"]{background:linear-gradient(90deg,#dc3545,#e83e8c)!important}.upgrade-benefits{background:#f8f9fa;border-radius:.25rem;padding:1rem;border-left:.25rem solid #28a745}.upgrade-benefits h4{margin:0 0 .75rem;color:#495057;font-size:1rem}.upgrade-benefits ul{margin:0 0 1rem;padding-left:1.25rem}.upgrade-benefits li{margin-bottom:.25rem;color:#495057;font-size:.875rem}.pricing{margin:0;font-weight:600;color:#28a745;text-align:center;font-size:1.125rem}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;border-radius:.5rem;box-shadow:0 .5rem 1rem #00000026;max-width:31.25rem;width:90%;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:.0625rem solid #e9ecef}.modal-header h3{margin:0;color:#495057;font-size:1.25rem}.modal-close{background:none;border:none;font-size:1.5rem;color:#6c757d;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#495057}.modal-body{padding:0}.modal-body p{margin:0 0 1rem;color:#495057}.modal-body ul{margin:1rem 0;padding-left:1.25rem}.modal-body li{margin-bottom:.5rem;color:#495057}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:.0625rem solid #e9ecef}.primary-btn{background:#007bff;color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out}.primary-btn:hover{background:#0056b3}.secondary-btn{background:#6c757d;color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out}.secondary-btn:hover{background:#5a6268}.danger-btn{background:#dc3545;color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out}.danger-btn:hover{background:#c82333}.loading-spinner{width:2rem;height:2rem;border:.125rem solid #f3f3f3;border-top:.125rem solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin:2rem auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.quota-info{display:flex;justify-content:space-between;align-items:center;margin-top:.5rem;font-size:.875rem}.reset-time{color:#6c757d;font-style:italic}.reset-quota-btn{background:#fd7e14;color:#fff;border:none;padding:.25rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:500;cursor:pointer;transition:background-color .15s ease-in-out;min-width:5rem}.reset-quota-btn:hover{background:#e8690b}.reset-quota-btn:disabled{background:#6c757d;cursor:not-allowed}.admin-btn{opacity:.9;font-size:.75rem}@media (max-width: 48rem){.billing-header{flex-direction:column;align-items:flex-start;gap:1rem}.billing-actions,.owner-actions{width:100%}.upgrade-btn,.transfer-btn,.cancel-btn{flex:1;min-width:0}.modal{width:95%}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}
