body {
    font-family: Arial, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #333 !important;
    justify-content: center;
    align-items: center;
}


.header-h3 {
    font-size: 1.25rem !important;
    text-align: center !important;
    color: #4a4a4a !important;
    font-weight: bold !important;
}

.header-internal-link {
    font-size: 1.3rem !important;
    text-align: center !important;
    font-weight: bold !important;
    text-align: center;
    animation: blink 1s infinite;
    color: red !important;
}


@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.message {
    margin: 20px auto !important;
    padding: 10px !important;
    max-width: 95% !important;
    text-align: center !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    background: #EAEEE9 !important;
    border: 2px solid #f4d06f !important;
}

    .message.alternate {
        background: #f4f1de !important;
        border: 2px solid #e07a5f !important;
    }

.upload-label,
.custom-button {
    background: linear-gradient(to bottom right, #EF4765, #FF9A5A) !important;
    border: 0;
    border-radius: 12px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 12px !important;
    text-align: center;
    transition: box-shadow 0.2s ease-in-out;
    white-space: nowrap;
    min-width: 90px;
    max-width: fit-content;
}

    .custom-button:not([disabled]):focus {
        box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
    }

    .custom-button:not([disabled]):hover {
        box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(239, 71, 101, 0.5), .125rem .125rem 1rem rgba(255, 154, 90, 0.5);
    }

    .custom-button:hover {
        background-color: #45a049;
    }

input[type="file"] {
    display: none; /* Hide the file input */
}


.upload-label span {
    display: inline-block;
    max-width: 120px; /* Set a minimum width to prevent size changes */
    text-align: center;
}

.upload-label:hover {
    background-color: #0056b3;
}

.custom-button,
input[type="text"] {
    min-width: 130px;
    max-width: 150px;
    text-align: center; /* Center align the text */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Prevent overflow */
}

    .custom-button span,
    .upload-label span {
        display: inline-block;
    }

.hide-hindi-control {
    display: none;
}

.image-container {
    position: relative !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 20px auto !important;
    overflow: hidden !important;
    padding: 0 !important;
    text-align: center !important;
}

    .image-container img {
        width: 100% !important;
        height: auto !important;
        object-fit: fill !important;
    }

@media only screen and (max-width: 768px) {

    .upload-label,
    .custom-button {
        font-size: 11px;
        padding: 5px;
        width: 112px;
        padding: 8px 15px;
    }

        .upload-label span {
            display: inline-block;
            max-width: 95px; /* Set a minimum width to prevent size changes */
            text-align: center;
        }

    .message {
        font-size: 0.9rem !important;
        padding: 8px !important;
        margin: 15px auto !important; /* Increased gap between messages on mobile */
    }

    .image-container {
        position: relative !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 10px auto !important;
        overflow: hidden !important;
        padding: 0 !important;
        text-align: center !important;
    }

        .image-container img {
            width: 100% !important;
            height: auto !important;
            object-fit: fill !important;
        }    
}


