/**
 * Dormant Detection Suggestion Styles
 */

.dormant-suggestion {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: #f0f9ff;
    border: 2px solid #3b82f6;
    animation: slideDown 0.3s ease-out;
}

.dormant-suggestion--warn {
    background: #fef3c7;
    border-color: #f59e0b;
}

.dormant-suggestion__content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
}

.dormant-suggestion__content--warning {
    /* Warning variant styles */
}

.dormant-suggestion__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.dormant-suggestion__message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1e40af;
}

.dormant-suggestion--warn .dormant-suggestion__message {
    color: #92400e;
}

.dormant-suggestion__btn {
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.dormant-suggestion__btn:hover {
    background: #2563eb;
}

.dormant-suggestion--warn .dormant-suggestion__btn {
    background: #f59e0b;
}

.dormant-suggestion--warn .dormant-suggestion__btn:hover {
    background: #d97706;
}

.dormant-suggestion__dismiss {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    background: #94a3b8;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dormant-suggestion__dismiss:hover {
    background: #64748b;
}

.dormant-suggestion__help {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #bfdbfe;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

.dormant-suggestion--warn .dormant-suggestion__help {
    border-top-color: #fde68a;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .dormant-suggestion__content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dormant-suggestion__btn {
        width: 100%;
    }

    .dormant-suggestion__dismiss {
        top: 0.5rem;
        right: 0.5rem;
    }
}
