/* کارت کیس */
.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.online-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #4cd964;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(76, 217, 100, 0.4);
}

.offline-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #9e9e9e;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-purple);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.health-badge {
    position: absolute;
    top: 50px;
    right: 15px;
    background: #007aff;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.reserved-badge {
    position: absolute;
    top: 85px;
    right: 15px;
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.deleted-badge {
    position: absolute;
    top: 85px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-content {
    padding: 20px;
}

.case-name {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.case-details {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.case-type {
    display: inline-block;
    background: rgba(106, 48, 147, 0.1);
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.view-count {
    color: #6c757d;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.view-count i {
    color: var(--secondary-pink);
    margin-left: 5px;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: var(--star-color);
    margin-left: 5px;
}

.rating-count {
    color: #6c757d;
    font-size: 0.85rem;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.btn-details {
    background: var(--gradient-bg);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.btn-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 48, 147, 0.3);
}

.btn-favorite {
    background: rgba(255, 78, 141, 0.15);
    color: var(--secondary-pink);
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: rgba(255, 78, 141, 0.25);
    transform: translateY(-3px);
}