/* ===== Send Delay Field ===== */
.send-delay-group label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.send-delay-info-btn {
    background: none;
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00ff88;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

.send-delay-info-btn:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: #00ff88;
    transform: scale(1.1);
}

.send-delay-info-btn svg {
    display: block;
}

.send-delay-control {
    display: flex;
    align-items: center;
    width: 100%;
    height: 28px;
    border: 1px solid rgba(0, 255, 136, 0.6);
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.send-delay-control:hover {
    border-color: #00cc66;
}

.send-delay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 100%;
    background: rgba(0, 255, 136, 0.08);
    border: none;
    color: #00ff88;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

.send-delay-btn:hover {
    background: rgba(0, 255, 136, 0.2);
}

.send-delay-btn:active {
    background: rgba(0, 255, 136, 0.3);
}

.send-delay-btn.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.send-delay-minus {
    border-right: 1px solid rgba(0, 255, 136, 0.25);
}

.send-delay-plus {
    border-left: 1px solid rgba(0, 255, 136, 0.25);
}

.send-delay-display {
    flex: 1;
    text-align: center;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
}

.send-delay-info-box {
    margin-top: 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 4px;
    animation: slideDown 0.3s ease;
}

.send-delay-info-box.hidden {
    display: none;
}

.send-delay-info-box p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #aaffcc;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive: Tablet (768px) — must be here to override base rules due to CSS load order */
@media (max-width: 768px) {
    .send-delay-control {
        height: 48px;
    }

    .send-delay-btn {
        width: 48px;
        min-width: 48px;
    }

    .send-delay-display {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .send-delay-control {
        height: 32px;
        border-radius: 3px;
    }

    .send-delay-btn {
        width: 32px;
        min-width: 32px;
    }

    .send-delay-btn svg {
        width: 18px;
        height: 18px;
    }

    .send-delay-display {
        font-size: 12px;
    }

    .send-delay-info-btn {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    .send-delay-info-btn svg {
        width: 16px;
        height: 16px;
    }

    .send-delay-info-box p {
        font-size: 0.75rem;
    }
}


@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

