.clock-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.clocks-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    background: #222;
    padding: 15px;
    border-radius: 12px;
}

.clocks-container .clock-card {
    flex: 1;
    margin-bottom: 0;
    text-align: center;
}

.clock-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clock {
    font-size: 20px;
    font-weight: bold;
    color: #00e6b8;
    font-family: 'Roboto Mono', monospace;
}

.sidebar {
    width: 300px;
    background: #1a1a1a;
    padding: 20px;
    border-right: 1px solid #333;
    height: 100vh;
    overflow-y: auto;
}

.risk-controls-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
    margin-bottom: 20px;
    z-index: 10;
}

.risk-controls-form {
    display: flex;
    gap: 24px;
    background: #23272f;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 18px 32px;
    align-items: center;
}

.risk-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.risk-group label {
    color: #b0b8c1;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 500;
}

.risk-group input {
    width: 110px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #181c22;
    color: #00e6b8;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
}

.risk-group input:focus {
    border: 1.5px solid #00e6b8;
}

.risk-btn {
    background: linear-gradient(90deg, #00e6b8 0%, #00b8e6 100%);
    color: #181c22;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-left: 12px;
}

.risk-btn:hover {
    background: linear-gradient(90deg, #00b8e6 0%, #00e6b8 100%);
    color: #fff;
}

.mesa-prop-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
    margin-bottom: 20px;
}

.mesa-prop-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #23272f;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    padding: 32px 48px;
    align-items: center;
    min-width: 380px;
}

.mesa-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 10px;
}

.mesa-group label {
    color: #b0b8c1;
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
}

.mesa-group select {
    width: 220px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #444;
    background: #181c22;
    color: #00e6b8;
    font-size: 18px;
    outline: none;
    transition: border 0.2s;
    margin-bottom: 4px;
}

.mesa-group select:focus {
    border: 2px solid #00e6b8;
}

.mesa-params {
    margin-top: 18px;
    background: #23272f;
    border-radius: 16px;
    padding: 24px 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    color: #fff;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 320px;
}

.mesa-param {
    color: #b0b8c1;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2px;
}

.mesa-param b {
    color: #00e6b8;
    font-weight: 700;
    font-size: 21px;
}

.mesa-btn {
    background: linear-gradient(90deg, #00e6b8 0%, #00b8e6 100%);
    color: #181c22;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 14px 38px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.mesa-btn:hover {
    background: linear-gradient(90deg, #00b8e6 0%, #00e6b8 100%);
    color: #fff;
}

.robot-control-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 32px 0 20px 0;
    gap: 12px;
}

.robot-toggle-btn {
    padding: 16px 48px;
    border-radius: 12px;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.robot-toggle-btn:disabled {
    background: linear-gradient(90deg, #444 0%, #666 100%);
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

.robot-toggle-btn.inactive {
    background: linear-gradient(90deg, #00e6b8 0%, #00b8e6 100%);
    color: #181c22;
}

.robot-toggle-btn.inactive:hover:not(:disabled) {
    background: linear-gradient(90deg, #00b8e6 0%, #00e6b8 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 230, 184, 0.4);
}

.robot-toggle-btn.active {
    background: linear-gradient(90deg, #ffd600 0%, #ff9500 100%);
    color: #181c22;
    animation: pulse-robot 2s ease-in-out infinite;
}

.robot-toggle-btn.active:hover {
    background: linear-gradient(90deg, #ff9500 0%, #ffd600 100%);
    transform: scale(1.05);
}

@keyframes pulse-robot {
    0%, 100% {
        box-shadow: 0 4px 18px rgba(255, 214, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 24px rgba(255, 214, 0, 0.6);
    }
}

.robot-icon {
    font-size: 1.5rem;
}

.robot-text {
    font-size: 1.1rem;
}

.robot-status-text {
    color: #b0b8c1;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
}

.robot-status-text.active {
    color: #00e6b8;
    font-weight: 600;
}

.robot-status-text.warning {
    color: #ffd600;
}

.emergency-btn-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.emergency-btn {
    width: 55px;
    height: 55px;
    min-width: 55px;
    min-height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3c3c 0%, #b80000 100%);
    color: #fff;
    font-weight: bold;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(255,60,60,0.4);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.emergency-btn:hover {
    background: linear-gradient(135deg, #b80000 0%, #ff3c3c 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255,60,60,0.6);
}

.emergency-btn-label {
    color: #ff3c3c;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    user-select: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .emergency-btn-label {
        font-size: 0.95rem;
        margin-left: 10px;
    }
    .emergency-btn {
        width: 1.5cm;
        height: 1.5cm;
        min-width: 1.5cm;
        min-height: 1.5cm;
        max-width: 1.5cm;
        max-height: 1.5cm;
        font-size: 0.9rem;
    }
} 