/* MuslimBabyName Core Plugin CSS */
:root {
    --mbn-green-dark: #0e6245;
    --mbn-green: #15803d;
    --mbn-green-light: #22c55e;
    --mbn-gold: #eab308;
    --mbn-pink: #ec4899;
    --mbn-blue: #0284c7;
    --mbn-border: #e2e8f0;
}

/* Toast Notifications */
.mbn-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 999999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mbn-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Modal styling */
.mbn-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}
.mbn-modal-overlay.active {
    display: flex;
}
.mbn-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.mbn-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* Tools Widget Results */
.mbn-tool-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.mbn-tool-name-card {
    background: #f8fafc;
    border: 1px solid var(--mbn-border);
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mbn-tool-name-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}
