.services-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.services-card .card-header {
    background: #0d1b4c;
    color: #fff;
    padding: 12px 16px;
}
.services-card .card-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

/* Grid سرویس‌ها */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

/* هر سرویس */
.service-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
}
.service-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-header h4 {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    color: #0d1b4c;
}
.service-domain {
    font-size: 13px;
    color: #555;
    margin: 8px 0 4px;
}
.service-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

/* وضعیت */
.status-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid;
    font-weight: 600;
    background: transparent;
    min-width: 70px;
    text-align: center;
}
.status-active { color:#198754; border-color:#198754; }
.status-suspended { color:#fd7e14; border-color:#fd7e14; }
.status-terminated,
.status-expired { color:#dc3545; border-color:#dc3545; }

/* دکمه مدیریت */
.btn-manage {
    display: inline-block;
    background: #273c8a;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s ease;
}
.btn-manage:hover { background: #14296a; }

.services-card .card-footer a {
    text-decoration: none !important; /* 👈 این خط زیر رو کامل حذف می‌کنه */
    color: #0d1b4c;
    font-weight: bold;
}
.services-card .card-footer a:hover {
    text-decoration: none !important; /* 👈 حتی روی hover هم خط نمیاد */
    color: #14296a; /* رنگ کمی تیره‌تر برای افکت هاور */
}

.services-card .card-footer a:hover { text-decoration: underline; }

/* 📱 موبایل */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-item { padding: 12px; }
    .btn-manage { width: 100%; text-align: center; }
}

.btn-main1 {
    display: inline-block;
    background: #0d1b4c;   /* سورمه‌ای برند */
    color: #fff;           /* متن سفید */
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-main1:hover {
    background: #14296a;   /* سورمه‌ای روشن‌تر */
    color: #fff !important; /* متن همیشه سفید بمونه */
}
