/**
 * Endverbraucher Integration Styles
 * 
 * Styles für Favorite & Message Buttons auf Sedcard-Seiten
 * 
 * @package Noble_Frontend_Display
 */

/* User Actions Container */
.sedcard-user-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(1, 34, 28, 0.3);
    border-radius: 12px;
    border: 2px solid var(--na-gold, #dbc16d);
    flex-wrap: wrap;
}

/* Favorite Button (from noble-endverbraucher-userbereich) */
.sedcard-user-actions .favorite-btn {
    flex: 1;
    min-width: 200px;
}

/* Message Button */
.btn-send-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--na-gold, #dbc16d);
    color: var(--na-emerald, #01221c);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    text-decoration: none;
}

.btn-send-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(219, 193, 109, 0.4);
    background: #c5a85d;
}

.btn-send-message.loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-send-message .message-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.btn-send-message .message-text,
.btn-send-message .btn-text {
    font-family: var(--font-body, 'Lato', sans-serif);
}

/* Sidebar Primary CTA Updates */
.btn-primary-compact.btn-send-message {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .sedcard-user-actions {
        flex-direction: column;
    }
    
    .sedcard-user-actions .favorite-btn,
    .btn-send-message {
        width: 100%;
        min-width: unset;
    }
}

/* Loading State */
.btn-send-message.loading::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--na-emerald, #01221c);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

