/* ======================== */
/*   پس زمینه متحرک سایت     */
/* ======================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Vazirmatn, sans-serif;
}

body {
    background: linear-gradient(135deg, #4f8dfd, #6ed2f5, #9f88ff);
    background-size: 400% 400%;
    animation: bgMove 12s ease-in-out infinite;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ======================== */
/*    کارت انتخاب نقش       */
/* ======================== */
.role-card {
    background: rgba(255, 255, 255, 0.88);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: 0.25s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.role-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.small-muted {
    color: #555;
    font-size: 14px;
}

/* ======================== */
/*       فرم‌های ورود        */
/* ======================== */
.login-container,
.register-box {
    background: rgba(255,255,255,0.92);
    padding: 30px;
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.login-container h3,
.register-box h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* ======================== */
/*         کارت نوتیف       */
/* ======================== */
.card-notif {
    background: rgba(255,255,255,0.92);
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid #e0e0e0;
}

/* ======================== */
/*     کارت تعمیرکارها     */
/* ======================== */
.tech-card {
    width: 220px;
    background: rgba(255,255,255,0.9);
    text-align: center;
    border-radius: 16px;
    padding: 15px;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.tech-card:hover {
    transform: translateY(-6px);
}

.tech-card img {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* ======================== */
/*      مرکزکننده عمومی     */
/* ======================== */
.container-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card-custom {
    background: rgba(255,255,255,0.92);
    padding: 25px;
    border-radius: 15px;
    width: 380px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ======================== */
/*    لینک خروج و فوتر      */
/* ======================== */
.footer-link a {
    text-decoration: none;
    color: #0d6efd;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* ======================== */
/*     ریسپانسیو موبایل     */
/* ======================== */
@media (max-width: 576px) {
    .tech-card {
        width: 100%;
    }

    .card-custom {
        width: 95%;
    }

    .login-container,
    .register-box {
        width: 100%;
        margin-top: 40px;
    }
}

