/* Mode Toggle Styles */
.mode-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.mode-text {
    font-size: 16px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mode-text.mode-paper {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.mode-text.mode-live {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4CAF50;
    transition: 0.4s;
    border-radius: 18px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-input:checked+.toggle-label {
    background-color: #ff4444;
}

.toggle-input:checked+.toggle-label:before {
    transform: translateX(14px);
}

.toggle-label:hover {
    opacity: 0.9;
}