.popup-body {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
 }
 
 .popup-body::-webkit-scrollbar {
    display: none;
 }
 
 #billing-form-popup {
    max-width: 100%;
    max-height: 100vh;
    overflow: auto;
 }
 
 #billing-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
 }
 
 #billing-form .form-group {
    width: 100%;
 }
 
 #billing-form .full-width {
    grid-column: 1 / -1;
 }
 
 #billing-form input {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: normal;
    color: #4a3728;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
 }
 
 #billing-form label {
    display: block;
    margin-bottom: 5px;
 }
 
 .submit-btn {
    grid-column: 1 / -1;
    margin-top: 10px;
 }
 
 #invoices-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a3728;
    padding: 5px;
    line-height: 1;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
 }
 
 #invoices-close-btn:hover {
    background-color: #dedcd16d;
 }
 
 .invoices-container {
    width: 100%;
    overflow-x: auto;
 }
 
 .loading-text {
    text-align: center;
    padding: 40px 20px;
    color: #4a3728;
    font-size: 1rem;
 }
 
 @media (max-height: 700px) {
    .billing-popup-content {
        transform: scale(0.9);
    }
 }
 
 @media (max-height: 600px) {
    .billing-popup-content {
        transform: scale(0.8);
    }
 }
 
 @media (max-width: 768px) {
    .billing-popup-header h3 {
        font-size: 1.1rem;
    }
    
    #invoices-close-btn {
        font-size: 20px;
        width: 30px;
        height: 30px;
        position: relative;
        top: 1px;
    }
    
    .loading-text {
        padding: 30px 15px;
    }
 }
 
 @media (max-width: 480px) {
    .billing-popup-header h3 {
        font-size: 1rem;
    }
    
    .loading-text {
        padding: 30px 15px;
        font-size: 0.9rem;
    }
 }