/* DOMTranslate Frontend Styles */

/* Browser Language Alert - Bottom Sticky */
.domtranslate-language-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 16px 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    animation: slideUp 0.4s ease-out;
    border-top: 3px solid #3b82f6;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.domtranslate-language-alert.hidden {
    display: none;
}

.domtranslate-language-alert-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.domtranslate-language-alert-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.domtranslate-language-alert-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
}

.domtranslate-language-alert-text strong {
    font-weight: 600;
    color: #60a5fa;
}

.domtranslate-language-alert-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.domtranslate-language-alert-button {
    padding: 10px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.domtranslate-language-alert-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
    color: #fff;
}

.domtranslate-language-alert-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.domtranslate-language-alert-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.domtranslate-language-alert-close svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .domtranslate-language-alert {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }
    
    .domtranslate-language-alert-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .domtranslate-language-alert-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .domtranslate-language-alert-button {
        flex: 1;
        text-align: center;
    }
}

