/* frontend/css/common-ui-elements.css */

/* Standardized Theme Toggle Button */
.theme-toggle-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--neon-orange);
    color: var(--white); /* Text color on the button */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* Icon size */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9990;
}

.theme-toggle-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-orange);
}

[data-theme="light"] .theme-toggle-button {
    background-color: var(--neon-orange);
    color: var(--white);
}
[data-theme="dark"] .theme-toggle-button {
    background-color: var(--neon-orange);
    color: var(--black);
}

/* Standardized Messenger App Placeholder Styling */
.messenger-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--neon-orange);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9990;
}

.messenger-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--neon-orange);
}

/* Badges (ensure these are globally available if not already) */
.badge-enhanced, .badge-premium, .badge-new {
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-enhanced {
    background-color: var(--electric-blue, #00D4FF);
    color: var(--black, #0A0A0A);
}
[data-theme="dark"] .badge-enhanced {
    color: var(--text-primary);
}

.badge-premium {
    background-color: var(--deep-purple, #5D00FF);
    color: var(--white, #FFFFFF);
}

.badge-new {
    background-color: var(--hot-pink, #FF0080);
    color: var(--white, #FFFFFF);
}

@media (max-width: 768px) {
    .theme-toggle-button,
    .messenger-fab {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .theme-toggle-button { bottom: 15px; left: 15px; }
    .messenger-fab { bottom: 15px; right: 15px; }
}
