/* Translation Popup Styling */
.tp-popup-overlay {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    max-width: 380px;
    width: calc(100% - 60px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 24px;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(242, 201, 76, 0.3);
    font-family: 'Outfit', sans-serif;
}

.tp-popup-overlay.show {
    transform: translateY(0);
}

.tp-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tp-popup-icon {
    width: 40px;
    height: 40px;
    background: #FEF3C7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A017;
}

.tp-popup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.tp-popup-body {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tp-popup-actions {
    display: flex;
    gap: 10px;
}

.tp-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
}

.tp-btn-primary {
    background: #F2C94C;
    color: #1F2937;
}

.tp-btn-primary:hover {
    background: #D4A017;
    transform: translateY(-2px);
}

.tp-btn-secondary {
    background: #F3F4F6;
    color: #4B5563;
}

.tp-btn-secondary:hover {
    background: #E5E7EB;
}

.tp-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tp-close-btn:hover {
    background: #F3F4F6;
    color: #4B5563;
}

/* Support for Google Translate Toolbar when visible */
.translated-ltr .navbar,
.translated-rtl .navbar {
    top: 40px !important;
}

/* Hide only small tooltips/highlights that clutter the UI */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
}

.goog-te-gadget {
    font-family: 'Outfit', sans-serif !important;
}





@media (max-width: 480px) {
    .tp-popup-overlay {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
    }
}