/* Remote Transmitter Page Styles */
.remote-transmitter-page {
    padding: 20px;
}

/* Card Base Styling */
.remote-transmitter-card {
    position: relative;
    border: 1px solid var(--colore-bordo);
    background: var(--colore-container);
    box-shadow: var(--ombra-media);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transizione-media);
    margin-bottom: 20px;
}

.remote-transmitter-card:hover {
    box-shadow: var(--ombra-forte);
}

/* Top Accent Bar */
.remote-transmitter-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--colore-accento), var(--colore-accento-secondario));
    z-index: 1;
}

.remote-transmitter-card .card-body {
    position: relative;
    z-index: 2;
    padding: 24px;
}

/* Hero Card Background */
.remote-transmitter-card-hero {
    background: var(--colore-container);
}

.remote-transmitter-card-hero h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.remote-transmitter-card-hero > p {
    font-size: 0.95rem;
    color: #a0a8c0;
    margin-bottom: 12px;
}

/* Connection Status */
.remote-transmitter-connection {
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.2px;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--colore-accento);
}

/* Media Label */
.remote-transmitter-media-label {
    color: #d1d5db !important;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Timebar */
.remote-transmitter-timebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.remote-transmitter-timebar strong {
    color: var(--colore-accento-secondario);
    font-weight: 700;
    font-size: 0.95rem;
}

.remote-transmitter-timebar span {
    font-size: 0.9rem;
    color: #8b95b8;
}

/* Range Slider */
.remote-transmitter-range {
    cursor: pointer;
    width: 100%;
    height: 6px;
    appearance: none;
    background: transparent;
    outline: none;
}

/* Webkit Range Slider */
.remote-transmitter-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(var(--colore-accento-rgb), 0.35), rgba(var(--colore-accento-secondario-rgb), 0.35));
    border-radius: 999px;
}

.remote-transmitter-range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--colore-accento);
    box-shadow: 0 0 0 3px rgba(var(--colore-accento-rgb), 0.25);
    cursor: pointer;
    margin-top: -6px;
}

.remote-transmitter-range::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 5px rgba(var(--colore-accento-rgb), 0.35);
}

/* Firefox Range Slider */
.remote-transmitter-range::-moz-range-track {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(var(--colore-accento-rgb), 0.35), rgba(var(--colore-accento-secondario-rgb), 0.35));
    border-radius: 999px;
    border: none;
}

.remote-transmitter-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: var(--colore-accento);
    box-shadow: 0 0 0 3px rgba(var(--colore-accento-rgb), 0.25);
    cursor: pointer;
}

.remote-transmitter-range::-moz-range-thumb:hover {
    box-shadow: 0 0 0 5px rgba(var(--colore-accento-rgb), 0.35);
}

/* Controls Section */
.remote-transmitter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.remote-transmitter-controls .btn {
    min-width: 90px;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.95rem;
    transition: var(--transizione-media);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.remote-transmitter-controls .btn:hover {
    box-shadow: var(--ombra-forte);
}

/* Play Button */
.remote-transmitter-play-btn {
    min-width: 110px;
    font-weight: 700;
}

/* Jump Buttons */
.remote-transmitter-jump-btn {
    font-weight: 600;
    flex: 0 1 auto;
}

/* Event Log */
.remote-transmitter-log {
    background-color: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    min-height: 220px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 12px;
    color: #cbd5e1;
    overflow-y: auto;
}

/* Form Controls */
.remote-transmitter-card .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 6px;
}

.remote-transmitter-card .form-select,
.remote-transmitter-card .form-control {
    font-size: 0.95rem;
    border-radius: 8px;
}

/* Headings */
.remote-transmitter-card h1 {
    font-size: 1.75rem;
}

.remote-transmitter-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.remote-transmitter-card h5 {
    font-size: 1rem;
    font-weight: 700;
}

.remote-transmitter-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .remote-transmitter-page {
        padding: 12px;
    }

    .remote-transmitter-card .card-body {
        padding: 18px;
    }

    .remote-transmitter-card-hero > p {
        font-size: 0.9rem;
    }

    .remote-transmitter-controls {
        gap: 8px;
    }

    .remote-transmitter-controls .btn {
        flex: 1 1 30%;
        min-width: 0;
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .remote-transmitter-play-btn {
        min-width: 0;
        font-size: 0.95rem;
    }

    .remote-transmitter-log {
        min-height: 180px;
        font-size: 0.8rem;
    }

    .remote-transmitter-connection {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .remote-transmitter-card .card-body {
        padding: 16px;
    }

    .remote-transmitter-card-hero h1 {
        font-size: 1.5rem;
    }

    .remote-transmitter-controls .btn {
        padding: 8px 10px;
        font-size: 0.85rem;
        min-width: 0;
    }

    .remote-transmitter-log {
        min-height: 150px;
        font-size: 0.75rem;
    }
}

