/**
 * 遠端控制洗車機 modal（設備列表頁）
 * 參考 stitch Industrial Curator 色系與層次
 */
#controlWashMachineModal .wash-machine-modal-dialog {
    max-width: 32rem;
}

#controlWashMachineModal .wash-machine-modal-content {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(16, 28, 47, 0.06);
    overflow: hidden;
}

#controlWashMachineModal .wash-machine-modal-header {
    background: #ffc107;
    border: none;
    padding: 0 1.5rem;
    min-height: 4rem;
    align-items: center;
}

#controlWashMachineModal .wash-machine-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1c1917;
    letter-spacing: -0.02em;
}

#controlWashMachineModal .wash-machine-modal-close {
    color: #1c1917;
    opacity: 1;
    padding: 0.25rem;
    margin: 0;
    border: none;
    background: transparent;
    line-height: 1;
    font-size: 1.25rem;
}

#controlWashMachineModal .wash-machine-modal-close:hover {
    opacity: 0.85;
}

#controlWashMachineModal .wash-machine-modal-main {
    min-height: 8rem;
}

#controlWashMachineModal .wash-machine-modal-body {
    border: none;
    background: #fff;
    padding: 2rem;
}

#controlWashMachineModal .wash-machine-field-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4f4632;
    margin-bottom: 0.75rem;
}

#controlWashMachineModal .wash-machine-select-wrap {
    position: relative;
}

#controlWashMachineModal .wash-machine-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #f2f4f7;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0.5rem;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 1rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #191c1e;
}

#controlWashMachineModal .wash-machine-select:focus {
    outline: none;
    border-bottom-color: #785900;
    box-shadow: none;
}

#controlWashMachineModal .wash-machine-select-chevron {
    pointer-events: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4f4632;
}

#controlWashMachineModal .btn-wash-machine-restart {
    border: 2px solid #785900;
    color: #785900;
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

#controlWashMachineModal .btn-wash-machine-restart:hover {
    background: rgba(120, 89, 0, 0.06);
    color: #785900;
}

#controlWashMachineModal .btn-wash-machine-restart:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#controlWashMachineModal .wash-machine-plan-item {
    margin-bottom: 0.75rem;
}

#controlWashMachineModal .wash-machine-plan-item:last-child {
    margin-bottom: 0;
}

#controlWashMachineModal .wash-machine-plan-sr-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#controlWashMachineModal .wash-machine-plan-face {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f2f4f7;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}

#controlWashMachineModal .wash-machine-plan-item--selected .wash-machine-plan-face {
    background: rgba(255, 193, 7, 0.12);
    border-color: #ffc107;
}

#controlWashMachineModal .wash-machine-plan-face:active {
    transform: scale(0.98);
}

#controlWashMachineModal .wash-machine-plan-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e6e8eb;
    color: #785900;
    font-size: 1.25rem;
}

#controlWashMachineModal .wash-machine-plan-item--selected .wash-machine-plan-icon {
    background: #ffc107;
    color: #261a00;
}

#controlWashMachineModal .wash-machine-plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #191c1e;
}

#controlWashMachineModal .wash-machine-plan-desc {
    font-size: 1rem;
    color: #4f4632;
    margin-top: 0.125rem;
}

#controlWashMachineModal .wash-machine-plan-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #191c1e;
}

#controlWashMachineModal .wash-machine-modal-footer {
    border: none;
    background: #fff;
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
}

#controlWashMachineModal .btn-wash-machine-cancel {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(212, 197, 171, 0.35);
    background: transparent;
    color: #4f4632;
    font-weight: 700;
    border-radius: 0.5rem;
}

#controlWashMachineModal .btn-wash-machine-cancel:hover {
    background: #f2f4f7;
    color: #4f4632;
}

#controlWashMachineModal .btn-wash-machine-submit {
    flex: 2;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    color: #fff;
    background: #dc3545;
    box-shadow: 0 4px 14px rgba(120, 89, 0, 0.2);
}

#controlWashMachineModal .btn-wash-machine-submit:hover {
    filter: brightness(1.05);
    color: #fff;
}

#controlWashMachineModal .btn-wash-machine-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
}

#controlWashMachineModal #washMachineControlResult {
    font-size: 1.25rem;
}

#controlWashMachineModal .wash-machine-plan-empty {
    font-size: 1.25rem;
    color: #4f4632;
    padding: 0.75rem 0;
}
