/* assets/style.css */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary: #6366f1;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Vazirmatn', sans-serif !important;
    background-color: var(--light);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
}

/* نوار بالا */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary) !important;
    font-size: 1.5rem;
}

/* باکس‌های ورود و ثبت نام */
.auth-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 400px;
    margin: 50px auto;
}

/* داشبورد کاربر */
.credit-card {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.credit-count {
    font-size: 3rem;
    font-weight: 800;
}

/* کارت بسته‌ها */
.package-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.package-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-primary-custom:hover {
    background-color: #4f46e5;
    color: white;
}

/* --- استایل فوتر --- */
body {
    /* این خط باعث می‌شود فوتر همیشه پایین صفحه بچسبد حتی اگر محتوا کم باشد */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    background-color: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: auto; /* چسبیدن به پایین */
    font-size: 0.9rem;
    color: #64748b;
}

.site-footer a {
    color: #64748b;
    text-decoration: none;
    transition: 0.2s;
    margin: 0 10px;
}

.site-footer a:hover {
    color: var(--primary);
}

.site-footer .brand {
    font-weight: 800;
    color: #1e293b;
    font-size: 1.1rem;
}

.text-danger {
    --bs-text-opacity: 1;
    color: rgb(255 235 0) !important;}