/* Modal overlay background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay */
    align-items: center;
    justify-content: center;
}

/* Modal content box */
.modal-content {
    background-color: #1f1f1f; /* Dark modal box */
    color: #ffffff;            /* White text */
    padding: 30px 40px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #333333;
}

/* Add spacing between modal content elements */
.modal-content > * {
    margin-bottom: 20px;
}

/* Remove bottom margin on last element */
.modal-content > *:last-child {
    margin-bottom: 0;
}

/* Text container styles inside modal */
.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
}

/* Heading text style */
.font-h2-strong {
    color: #f1f1f1;
    font-weight: 400;
    font-size: 24px;
    line-height: 31.68px;
    font-family: "Lexend", sans-serif;
}

/* Subtitle text style */
.font-text-large-1 {
    color: #cccccc;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    font-family: "Inter", sans-serif;
}

/* Submit button inside modal */
.modal-content button#submit {
    background-color: #00b894; /* Teal/green */
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: auto;
}

.modal-content button#submit:hover {
    background-color: #019875; /* Slightly darker on hover */
}

/* download input container */
#download-input {
    display: flex;
    column-gap: 8px;
}

/* Individual download input fields */
#download-input input {
    text-align: center;
    padding: 10px 8px;
    border: 1px solid #adadad;
    border-radius: 4px;
    outline: none;
    height: 64px;
    width: 50px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 18px;
}

#download-input input:focus {
    border: 1px solid #00b894;
}

#download-input input:focus::placeholder {
    color: transparent;
}

#download-input input::-webkit-outer-spin-button,
#download-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#download-input input[type="number"] {
    -moz-appearance: textfield;
}

/* Global button styling (if needed) */
button {
    background-color: #497e76;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    line-height: 20px;
    font-weight: 500;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    width: 100%;
    max-width: 220px;
    font-size: 16px;
    cursor: pointer;
}
