/**
 * Paused Schedules Banner Styles
 * Shown above balance widget when paused_links_count > 0.
 * Magenta accent, clip-path, Lucide icons.
 */

/* ============================================================
   PAUSED BANNER
   ============================================================ */

.paused-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: rgba(247, 37, 133, 0.06);
    border: 1px solid rgba(247, 37, 133, 0.4);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    margin-bottom: var(--space-4);
    animation: banner-appear 0.3s ease;
}

@keyframes banner-appear {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paused-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(247, 37, 133, 0.15);
    border: 1px solid rgba(247, 37, 133, 0.3);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    flex-shrink: 0;
}

.paused-banner__icon svg {
    width: 18px;
    height: 18px;
    color: var(--neon-magenta);
    filter: drop-shadow(0 0 6px rgba(247, 37, 133, 0.5));
}

.paused-banner__content {
    flex: 1;
    min-width: 0;
}

.paused-banner__title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--neon-magenta);
    letter-spacing: 0.5px;
    margin-bottom: var(--space-1);
}

.paused-banner__text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.paused-banner__text strong {
    color: var(--neon-magenta);
    font-weight: 700;
}

.paused-banner__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* Primary action: Top up */
.paused-banner__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    border: none;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    color: var(--bg-deep);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.paused-banner__btn-primary svg {
    width: 14px;
    height: 14px;
}

.paused-banner__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
}

/* Secondary action: Resume all */
.paused-banner__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: 1px solid rgba(0, 245, 212, 0.4);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    color: var(--neon-cyan);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.paused-banner__btn-secondary svg {
    width: 14px;
    height: 14px;
}

.paused-banner__btn-secondary:hover {
    background: rgba(0, 245, 212, 0.08);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.2);
}

.paused-banner__btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Tertiary action: Run missed checks */
.paused-banner__btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: 1px solid rgba(247, 37, 133, 0.3);
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
    color: var(--neon-magenta);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.paused-banner__btn-tertiary svg {
    width: 13px;
    height: 13px;
}

.paused-banner__btn-tertiary:hover {
    background: rgba(247, 37, 133, 0.08);
    border-color: rgba(247, 37, 133, 0.6);
    box-shadow: 0 0 12px rgba(247, 37, 133, 0.2);
}

/* Loading spinner inside button */
.btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .paused-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .paused-banner__actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .paused-banner {
        padding: var(--space-3) var(--space-4);
    }

    .paused-banner__btn-primary,
    .paused-banner__btn-secondary,
    .paused-banner__btn-tertiary {
        flex: 1;
        justify-content: center;
    }
}
