/**
 * Najibul Save & Bookmark - Multilingual Pill & Card Transition
 */

/* Pill Button Layout (For .najibul-interaction-wrapper) */
.najibul-save-pill-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.najibul-save-pill-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
    filter: brightness(1.06);
}

.najibul-save-pill-btn:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* SAVED STATE: Vibrant Emerald Green */
.najibul-save-pill-btn.is-saved {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35) !important;
}

.najibul-save-pill-btn.is-saved:hover {
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45) !important;
}

.najibul-save-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

/* Full Card Layout (Screenshot Reference) */
.najibul-save-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px 20px;
    margin: 18px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    width: 100%;
}

@media (prefers-color-scheme: dark), body.dark-mode {
    .najibul-save-card {
        background: #0f172a;
        border-color: #1e293b;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
}

.najibul-save-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.najibul-save-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.najibul-save-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

@media (prefers-color-scheme: dark), body.dark-mode {
    .najibul-save-title {
        color: #f8fafc;
    }
}

.najibul-save-subtext {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
}

.najibul-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    outline: none;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.najibul-save-btn:hover {
    transform: translateY(-1px);
    background: #1d4ed8;
}

.najibul-save-card.is-saved .najibul-save-icon-wrap {
    background: #ecfdf5;
    color: #10b981;
}

.najibul-save-card.is-saved .najibul-save-btn {
    background: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
