@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.bundle.scp.css';
@import '_content/Microsoft.Fast.Components.FluentUI/Microsoft.Fast.Components.FluentUI.bundle.scp.css';

/* /Pages/Login.razor.rz.scp.css */
.login-card[b-tijjceojkf] {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.login-logo[b-tijjceojkf] {
    text-align: center;
    margin-bottom: 25px;
}

    .login-logo img[b-tijjceojkf] {
        height: 350px;
        max-width: 100%;
    }

.form-group[b-tijjceojkf] {
    margin-bottom: 20px;
}

    .form-group label[b-tijjceojkf] {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
    }

.form-control[b-tijjceojkf] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

    .form-control:focus[b-tijjceojkf] {
        border-color: #0078d4;
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.2);
    }

.btn-block[b-tijjceojkf] {
    width: 100%;
    margin-top: 10px;
}

.btn-primary[b-tijjceojkf] {
    background-color: #0078d4;
    border: none;
    color: white;
    padding: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .btn-primary:hover[b-tijjceojkf] {
        background-color: #006abc;
    }

.validation-message[b-tijjceojkf] {
    color: #d83b01;
    font-size: 12px;
    margin-top: 4px;
}
/* /Pages/Order/Order.razor.rz.scp.css */
.order-form[b-47mr338lwf] {
    padding: 0.5rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tables-container[b-47mr338lwf] {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: space-between;
    flex-wrap: wrap;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.table-section[b-47mr338lwf] {
    flex: 1;
    padding: 1rem;
    border-radius: 0.5rem;
    min-width: 300px;
    border: solid;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

    /*.table-section h5 {
        margin-bottom: 1rem;*/
/*        color: #495057;*/
        /*text-align: center;
    }*/

.table-responsive[b-47mr338lwf] {
    max-height: 100%; /* Set a fixed height for the table container */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: auto; /* Enable horizontal scrolling if needed */
    border: 1px solid #dee2e6; /* Optional: for visual clarity */
    flex: 1;
}

.table[b-47mr338lwf] {
    font-size: 0.85rem;
    border-collapse: separate;
    border-spacing: 0;
}

    .table th[b-47mr338lwf],
    .table td[b-47mr338lwf] {
        padding: 0.1rem;
        text-align: center;
        border: .5px solid #dee2e6;
        position: relative;
    }

    .table input[type="number"][b-47mr338lwf] {
        border: .5px solid transparent;
        border-radius: 0.1rem;
        padding: 0.1rem;
        text-align: center;
        width: 100%;
        background: transparent;
        transition: all 0.2s ease-in-out;
    }

        .table input[type="number"]:focus[b-47mr338lwf] {
            outline: none;
            background-color: #fff;
            border-color: var(--bs-primary);
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

.row-highlight[b-47mr338lwf] {
    background-color: var(--bs-light);
    font-weight: bold;
}

/* 선택된 행 강조 */
.row-highlight td[b-47mr338lwf] {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

/* 선택된 열 강조 */
.column-highlight[b-47mr338lwf] {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

/* 선택된 셀 강조 */
.cell-highlight[b-47mr338lwf] {
    background-color: rgba(255, 0, 0, 0.4) !important;
    border: 1px solid var(--bs-primary) !important;
}

/* 선택된 셀 스타일링 */
.cell-highlight[b-47mr338lwf] {
    background-color: var(--bs-light) !important;
    border: 1px solid var(--bs-primary) !important;
}
/* 선택된 행의 왼쪽부터 선택된 셀까지만 강조 */
.partial-row-highlight td:not(.cell-highlight)[b-47mr338lwf] {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

/* 선택된 열의 위쪽부터 선택된 셀까지만 강조 */
.partial-column-highlight[b-47mr338lwf] {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

/* 행 hover 효과 */
.table tbody tr:hover[b-47mr338lwf] {
    background-color: var(--bs-gray-200);
}

/* 입력 필드 화살표 제거 */
.table input[type="number"][b-47mr338lwf]::-webkit-inner-spin-button,
.table input[type="number"][b-47mr338lwf]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table input[type="number"][b-47mr338lwf] {
    -moz-appearance: textfield;
}

/* 활성 셀의 테두리 스타일 */
.cell-highlight input[type="number"][b-47mr338lwf] {
    background-color: #fff;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .tables-container[b-47mr338lwf] {
        flex-direction: column;
        overflow-y: auto;
    }

    .table-section[b-47mr338lwf] {
        width: 100%;
        min-width: unset;
        max-height: 300px;
    }

    .table-responsive[b-47mr338lwf] {
        max-height: 250px; /* Smaller height for mobile */
    }
}

.spare-cell[b-47mr338lwf] {
    background-color: #fff3cd !important; /* Bootstrap warning background */
}

.spare-high[b-47mr338lwf] {
    background-color: #51c9e9 !important;
}

.spare-mid[b-47mr338lwf] {
    background-color: #93b3de !important;
}

.spare-low[b-47mr338lwf] {
    background-color: #c8e5f5 !important;
}

.sticky-table thead th[b-47mr338lwf] {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    /* 필요시 border, box-shadow 등 추가 */
}

/* 셀 하이라이트 스타일 */
.cell-highlight[b-47mr338lwf] {
    background-color: #fff3cd !important;
    border: 2px solid #ffc107 !important;
}

/* 선택된 셀 스타일 */
.selected-cell[b-47mr338lwf] {
    background-color: #cce5ff !important;
    border: 2px solid #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 하이라이트된 컬럼의 input 스타일 */
.highlighted-column[b-47mr338lwf] {
    background-color: #f8f9fa !important;
}

/* 비활성화된 셀 스타일 */
.disabled-cell[b-47mr338lwf] {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

    .disabled-cell:hover[b-47mr338lwf] {
        background-color: #f8f9fa !important;
    }

/* 비활성화된 input 스타일 */
.form-control:disabled[b-47mr338lwf],
.form-control:read-only[b-47mr338lwf] {
    background-color: #e9ecef !important;
    opacity: 0.8;
    cursor: not-allowed;
}

/* 재고/입력 가능 셀 표시 스타일 */
.spare-available[b-47mr338lwf] {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.spare-unavailable[b-47mr338lwf] {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* 포커스 스타일 */
.form-control:focus[b-47mr338lwf] {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 테이블 셀 기본 스타일 */
td[b-47mr338lwf] {
    padding: 2px;
    vertical-align: middle;
    text-align: center;
}

/* /Shared/LoginLayout.razor.rz.scp.css */
.page[b-xmbaau5x9l] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xmbaau5x9l] {
    flex: 1;
}
