html 
{
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) 
{
    html {
        font-size: 16px;
    }
}

body 
{
    font-family: 'Noto Sans KR', sans-serif;
    margin-bottom: 60px; 
}

th, td 
{
    white-space: nowrap;
}

.gradient-bg 
{
    background: rgb(42 42 42 / var(--tw-border-opacity, 1));
    min-height: 100vh;
}

.form-label 
{
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    border-color :rgb(158 79 205);
    margin-bottom: 0.25rem;
    display: block;
}

.form-input
{
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s;
}

    .form-input:focus 
    {
        outline: none;
        border-color: #7e22ce;
        box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
    }

select.form-input option 
{
    color: #000;
    background-color: #fff;
}

.btn-check 
{
    background-color: #000000;
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(19, 36, 231, 0.2);
    transition: all 0.2s;
}

    .btn-check:hover 
    {
        background-color: #414141;
        transform: translateY(-1px);
    }

    .btn-check:active 
    {
        transform: translateY(0);
    }

.dropdown-list 
{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 2px;
    padding: 0;
    list-style: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .dropdown-list li 
    {
        padding: 8px 12px;
        cursor: pointer;
        font-size: 14px;
    }

        .dropdown-list li:hover 
        {
            background-color: #f3f4f6;
        }

.ocr-scanning::after 
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4CAF50;
    animation: scan 1.5s infinite linear;
    box-shadow: 0 0 10px #4CAF50;
    z-index: 10;
}

@keyframes scan 
{
    0% 
    {
        top: 0;
    }

    100% 
    {
        top: 100%;
    }
}

#upload-loading-overlay 
{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
}

.upload-loading-box 
{
    background: #fff !important;
    border-radius: 12px !important;
    padding: 40px 50px !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.upload-spinner 
{
    width: 48px !important;
    height: 48px !important;
    border: 5px solid #e0e0e0 !important;
    border-top-color: #4a90e2 !important;
    border-radius: 50% !important;
    animation: spin 0.8s linear infinite !important;
    margin: 0 auto 20px !important;
}

.radio-group 
{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

    .radio-group label 
    {
        font-size: 0.8rem;
        color: #4a5568; 
        cursor: pointer;
        margin-right: 0.5rem;
    }
@keyframes spin 
{
    to 
    {
        transform: rotate(360deg);
    }
}

.upload-loading-text 
{
    font-size: 15px !important;
    color: #444 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.btn-download 
{
    background: linear-gradient(135deg, #1324e7 0%, #7e22ce 100%);
    box-shadow: 0 10px 20px rgba(19, 36, 231, 0.3);
    transition: all 0.2s ease-in-out;
}

    .btn-download:hover 
    {
        transform: scale(1.02);
        box-shadow: 0 12px 24px rgba(19, 36, 231, 0.4);
    }

    .btn-download .sub-text 
    {
        font-size: 11px;
        font-weight: 400;
        opacity: 0.8;
        margin-top: 2px;
    }

.btn:focus, .form-control:focus 
{
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control::placeholder 
{
    color: var(--bs-secondary-color);
    text-align: end;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}