body { font-family: 'Inter', sans-serif; }
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #2196F3; }
input:checked + .slider:before { transform: translateX(26px); }
.modal-overlay { transition: opacity: 0.3s ease; }
.uppercase-input { text-transform: uppercase; }
.filter-tab.active {
    background-color: #4A90E2;
    color: white;
    font-weight: 600;
}
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.machine-list-column {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 0.5rem;
    overflow-y: auto;
    height: 100%;
}
.machine-item {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
    transition: background-color 0.2s ease-in-out;
}
.machine-item:last-child {
    border-bottom: none;
}
.machine-item:hover {
    opacity: 0.9;
}
.machine-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.5rem;
    color: inherit;
    line-height: 1.2;
}
.machine-name-group {
    display: flex;
    align-items: baseline;
    flex-grow: 1;
    flex-wrap: nowrap;
    min-width: 0;
}
.person-in-charge-display {
    font-size: 1rem;
    font-weight: normal;
    margin-left: 0.5rem;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.machine-info-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.25rem;
    color: inherit;
    line-height: 1.2;
}
.status-text-only {
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
    text-align: right;
}
@keyframes urgent-glow-red {
    0%, 100% { box-shadow: 0 0 5px 2px rgba(239, 68, 68, 0.2); }
    50% { box-shadow: 0 0 20px 10px rgba(239, 68, 68, 0.8); }
}
.blinking-red {
    animation: urgent-glow-red 1.5s ease-in-out infinite;
}
.status-RUN { background-color: #6ee7b7; color: #1f2937; }
.status-RUN_MONITOR { background-color: #5eead4; color: #1f2937; }
.status-DIE_SET { background-color: #a78bfa; color: #ffffff; }
.status-DIE_REPAIR { background-color: #c2410c; color: #ffffff; }
.status-PRD_FINISH { background-color: #9ca3af; color: #ffffff; }
.status-QC_CHECK { background-color: #facc15; color: #1a202c; }
.status-ADJUST { background-color: #dc2626; color: #ffffff; }
.status-STOP { background-color: #9ca3af; color: #ffffff; }
.status-MATL_SET { background-color: #d8b4fe; color: #1a202c; }
.status-BREAK { background-color: #60a5fa; color: #ffffff; }

#copy-notification {
    position: fixed;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 100;
    pointer-events: none;
}

.status-btn {
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.status-btn-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: none;
}
.status-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
