/**
 * REDPRO Chat Shortcodes Styles
 *
 * Styles for chat shortcodes (button and icon) - Loaded globally
 */

/* ========================================
   Chat Button Shortcode
   ======================================== */

.prord-chat-button-wrapper {
    margin: 20px 0;
}

.prord-chat-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--prord-color-accent, #104279);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

.prord-chat-button:hover {
    background: var(--prord-color-primary, #182E52);
    color: #fff;
}

.prord-chat-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.prord-chat-user-name {
    font-size: 13px;
    opacity: 0.9;
}

/* ========================================
   Chat Icon Shortcode
   ======================================== */

.prord-chat-icon-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.prord-chat-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.prord-chat-icon-link:hover {
    color: var(--prord-color-accent, #104279);
}

.prord-chat-icon {
    font-size: 25px;
    width: 20px;
    height: 29px;
}

.prord-chat-icon-text {
    font-size: 14px;
    font-weight: 500;
}

.prord-chat-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--prord-chat-error, #d63638);
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Para menús de WordPress */
.menu-item .prord-chat-icon-wrapper {
    vertical-align: middle;
}

.menu-item .prord-chat-icon-link {
    padding: 0;
}