@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: url('https://preview.colorlib.com/theme/sensive/img/banner/hero-banner.png.webp') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-header {
    text-align: center;
    padding: 40px 15px 30px;
    z-index: 1;
    position: relative;
}

    .hero-header h1 {
        font-size: 3rem;
    }

    .hero-header p {
        font-size: 1.2rem;
        margin-top: 10px;
    }

@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2.2rem;
    }

    .hero-header p {
        font-size: 1rem;
    }
}

.upload-wrapper {
    z-index: 1;
    position: relative;
    padding: 20px;
}

.upload-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: auto;
}

    .upload-box h2 {
        color: #1f2937;
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

.btn-orange {
    background-color: #f97316;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
}

    .btn-orange:hover {
        background-color: #ea580c;
    }

.btn-download {
    background: white;
    color: #f97316;
    border: 1px solid #f97316;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 1rem;
    outline: none !important;
}

    .btn-download:hover {
        background: #f97316;
        color: white;
        border: none;
    }

.btn-save {
    background: #464646;
    color: white;
    border: 1px solid #464646;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 1rem;
    outline: none !important;
}

    .btn-save:hover {
        background: #464646;
    }

.btn-disabled {
    background: #a9a9a9 !important;
    border: #a9a9a9 !important;
    cursor: default!important;
}

}

.labels-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.status-label {
    font-weight: 600;
    font-size: 1rem;
    color: black;
}

    .status-label .label-value {
        color: #f97316;
        margin-left: 6px;
        font-weight: 700;
    }

/* Toast container */
#toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 1050;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    #toast.show {
        visibility: visible;
        opacity: 1;
    }


/*loading-icon start*/
#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 999999;
    display: none;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#cover-spin::after {
    content: '';
    display: block;
    position: absolute;
    left: 48%;
    top: 40%;
    width: 70px;
    height: 70px;
    border-style: solid;
    border-color: #e2784f;
    border-top-color: transparent;
    border-width: 4px;
    border-radius: 50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

/*loading icon end*/
