/* Login-Button Styling für Chat-Widgets */

/* Login-Button für regulären Chat */
.chat-login-button {
    position: relative;
    height: 32px;
    background-color: var(--user-bg-color, #007bff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    flex-shrink: 0;
    padding: 0 12px;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--user-text-color, white);
    text-decoration: none;
    white-space: nowrap;
}

.chat-login-button:hover {
    background-color: var(--bot-bg-color, #f8f9fa);
    border-color: var(--user-bg-color, #007bff);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--user-bg-color, #007bff);
}

.chat-login-button.logged-in {
    background-color: #28a745;
    color: white;
    cursor: default;
}

.chat-login-button.logged-in:hover {
    background-color: #28a745;
    border-color: #28a745;
    transform: none;
    color: white;
}

/* Header-Buttons Container für regulären Chat */
.chat-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Login-Button für Desktop Floating Chat */
.floating-chat-login-button {
    position: relative;
    height: 28px;
    background-color: var(--user-bg-color, #007bff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    flex-shrink: 0;
    padding: 0 10px;
    margin-right: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--user-text-color, white);
    text-decoration: none;
    white-space: nowrap;
}

.floating-chat-login-button:hover {
    background-color: var(--bot-bg-color, #f8f9fa);
    border-color: var(--user-bg-color, #007bff);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--user-bg-color, #007bff);
}

.floating-chat-login-button.logged-in {
    background-color: #28a745;
    color: white;
    cursor: default;
}

.floating-chat-login-button.logged-in:hover {
    background-color: #28a745;
    border-color: #28a745;
    transform: none;
    color: white;
}

/* Header-Buttons Container für Desktop Floating Chat */
.floating-chat-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile-spezifische Anpassungen */
@media (max-width: 768px) {
    .chat-login-button,
    .floating-chat-login-button {
        font-size: 10px;
        height: 24px;
        padding: 0 8px;
    }
}
