/* ============================================
   buttons.css — جميع الأزرار
   يُحمَّل في جميع الصفحات
   ============================================ */

/* ── أساسي ── */
.btn-primary {
    background: var(--white);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}
.btn-primary:hover   { background: #e5e7eb; transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-secondary {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Cairo', sans-serif;
}
.btn-secondary:hover { background: var(--primary-dark); }

/* ── كبير ── */
.btn-primary-lg {
    background: white;
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    font-family: 'Cairo', sans-serif;
}
.btn-primary-lg:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* ── عرض كامل ── */
.btn-primary-block {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    font-family: 'Cairo', sans-serif;
}
.btn-primary-block:hover   { background: var(--primary-hover); }
.btn-primary-block:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── بحث ── */
.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
    transition: 0.2s;
}
.btn-search:hover { background: var(--primary-dark); }

/* ── صغير ── */
.btn-sm-dynamic {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: bold;
    transition: 0.2s;
    font-family: 'Cairo', sans-serif;
}
.btn-sm-dynamic:hover { background: var(--primary-dark); transform: translateX(-3px); }

/* ── Google ── */
.btn-google {
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #475569;
    transition: 0.2s;
    font-family: 'Cairo', sans-serif;
}
.btn-google:hover { border-color: var(--primary); }

/* ── مسح ── */
.clear-btn {
    background: none;
    border: 1px solid #fecaca;
    color: var(--error-red);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
    font-family: 'Cairo', sans-serif;
}
.clear-btn:hover { background: #fef2f2; }

/* ── توهج ── */
.btn-glow {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.2s;
    font-family: 'Cairo', sans-serif;
}
.btn-glow:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── إدارة ── */
.btn-admin-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Cairo', sans-serif;
}
.btn-reply  { background: var(--primary-gradient); color: white; box-shadow: 0 4px 12px rgba(37,99,235,0.2); }
.btn-reply:hover { transform: translateY(-2px); }
.btn-delete { background: #fff5f5; color: var(--error-red); border: 1px solid #fee2e2; }
.btn-delete:hover { background: var(--error-red); color: white; }

/* ── نبض ── */
.pulse-effect { animation: pulseBlue 2s infinite; }
@keyframes pulseBlue {
    0%   { box-shadow: 0 0 0 0    rgba(37,99,235,0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(37,99,235,0);   }
    100% { box-shadow: 0 0 0 0    rgba(37,99,235,0);   }
}