/* General body styling */
body {
    font-family: 'Inter Tight', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 4rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
}

.line-segment {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

#imagePreview {
    height: 300px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

/* Button styling */
.btn-custom {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    margin: 0.6rem 0.6rem;
    color: #fff;
    padding: 0.5rem 2rem;
}

.btn-custom.btn-primary {
    background-color: #2b7a69;
    border: none;
}

.btn-custom.btn-primary:hover {
    background-color: #3b7b79;
}

.btn-custom.btn-outline-primary {
    background-color: transparent;
    border: 2px solid #2b7a69;
    color: #2b7a69;
}

.btn-custom.btn-outline-primary:hover {
    background-color: #3b7b79;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    p {
        font-size: 1.1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
}


.custom-select {
    cursor: pointer;
}

.scale-btn.active {
    background-color: #007bff;
    color: white;
}

.scale-btn.disabled {
    background-color: #000000;
    color: white;
}


/* for paypal donate button image, can not be made inline */
#donate-button-container img {
    border-radius: 1000px;
}


#notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
    opacity: 0;
    width: auto;
    max-width: 90%;
    text-align: center;
}

#notification.show {
    bottom: 30px;
    opacity: 1;
}

@media (max-width: 600px) {
    #notification {
        width: 100%;
        border-radius: 0;
    }
}

.progress-bar-notification {
    height: 4px;
    background: #00ff99;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 5s linear;
}


.tts_audio_sample {
    display: flex;
}

.tts_audio_sample p {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 1rem;
}

.tts-input-box {
    width: 100%;
    min-height: 250px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.hidden {
    display: none;
}

.hidden-2 {
    display: none;
}