max-#popup-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: auto;
}

#discount-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;

}

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popup-content {
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10001;
    width: 100%;
}


#popup-content {
    background: white;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    display: flex;
    gap: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10001;
    max-height: 90%;
    overflow-y: auto;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
	max-width: 50%;
}

#chart {
    width: 400px;
    height: 400px;
    text-align: center;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

button.submit_button {
    outline: none;
    background: #FF6200;
    width: 100%;
    border: 0;
    border-radius: 4px;
    padding: 12px 20px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: inherit;
    font-weight: bold;
    line-height: inherit;
    text-transform: uppercase;
    cursor: pointer;
}

#discount-form label {
    display: block;
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
    color: #6e6e6e;
}

@media screen and (max-width: 768px) {
    #popup-content {
        flex-direction: column;
        max-width: 100%;
        height: auto;
        margin: 0;
        padding: 15px;
    }

    #chart {
        width: 100%;
        height: 300px;
        margin: 0 auto;
    }

    .container {
        width: 100%!important;
		max-width: 100%!important;
    }

    #discount-form {
        margin-top: 20px;
        padding: 0 10px;
    }

    #discount-form input,
    #discount-form select {
        width: 100%;
        margin-bottom: 15px;
    }

    .close-btn {
        top: 5px;
        right: 5px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    #popup-content {
        padding: 10px;
    }

    button.submit_button {
        font-size: 14px;
        padding: 10px 15px;
    }

    #discount-form {
        padding: 0 5px;
    }

    .close-btn {
        font-size: 30px;
    }

    #chart {
        height: 250px;
    }
}