/* body {
    opacity: 0;
    transition: opacity 1s ease-in-out;
} */

body {
    background-color: #f4f4f4;
    /* background-color: #29728c; */
    /* background: linear-gradient(135deg, #030e11, #0A2732, #133746, #215B70, #29728c) !important; */
    font-size: 21px;
}

.hidden { display: none; }
.form-container { max-width: 700px; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.step { display: none; }
.active { display: block; }

.dropbox_auth {
    color: #0061FF; 
    text-decoration: underline;
    font-size: 16px !important;
}

.dropbox_auth svg {
    transform: scale(0.5); /* Shrinks to 50% */
    max-width: 50px;
}
.dropbox_auth .st0 {
    fill:#0061FF;
}

h1 {
    font-size: 2em !important;
}

h2.steps {
    color: #0A2732;
    font-size: 36px;
    margin-bottom: 20px;
}

button { 
    opacity: 0.9;
    font-weight: bold !important;
    font-size: 18px;
    border-radius: 6px !important;
    padding: 10px 30px !important;
    min-width: 180px;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 300ms !important;  
}

button:hover {
    opacity: 1 !important;
}

#btn-summarize,
.btn-live {
    background: #FF2C00 !important;
}

#btn-summarize:hover,
.btn-live:hover {
    background: #C52200 !important;
}

.btn-live {
    float: right;
    background: #314199;
}

.btn-next {
    float: right;
    background: #314199;
}

.btn-prev {
    background-color: #bdc0d0 !important;
}

.disabled {
    background-color: #ccc !important;
}

#title {
    overflow: hidden;
}

label {
    margin-bottom: 10px;
    margin-top: 15px;
}

.form-container {
    width: 100%;
    max-width: 700px !important;
    /* Adjust the width */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    /* background-color: #0A2732 !important; */
}

#delete-upload {
    min-width: 10px !important;
    text-align: center;
    padding: 0px 6px !important;
}

#clear-form, 
#clear-logs {
    max-width: 220px !important;
    margin-top: 50px;
    background-color: transparent;
    color: white;
    opacity: 0.9;
    font-size: 24px;
    background: #777;
    margin-right: 10px;
}

#clear-form:hover {
    opacity: 1;
}

form {
    display: flex;
    flex-direction: column;
    /* Ensure elements stack vertically */
}

#statusLogs img {
    height: 100px !important;
    width: auto !important;
}

#upload-btn {
    background: #0061FF !important;
}

.custom-file-upload {
    display: inline-block;
    background-color: #1f2937; /* Dark background */
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    max-width: 130px;
}

/* Hide default file input */
.custom-file-upload input {
    display: none;
}

/* Style the text next to the button */
#file-name {
    margin-left: 10px;
    font-size: 16px;
    color: #555;
}

#date {
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 10px;
}

#thumbnail {
    margin: 40px 0;
}

.summary {
    height: 250px;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    background-color: #29728c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

/* Pulsing animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        /* Slightly larger */
        opacity: 0.7;
        /* Slightly dimmer */
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#loader img {
    animation: pulse 1.5s ease-in-out infinite;
    /* Gently pulsing */
    height: 150px;
    width: 150px;
}

#loader svg {
    fill: #0A2732;
}

.loading-icon {
    position: relative;
}

.loading-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}