/* Services Subscriptions CSS */

.subscription-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.subscription-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.subscription-info {
    flex: 1;
}

.subscription-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.subscription-detail {
    font-size: 0.9rem;
    color: #6c757d;
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
}

.subscription-detail i {
    margin-right: 0.4rem;
    font-size: 1rem;
    color: #adb5bd;
}

/* RTL Support for icons */
[dir="rtl"] .subscription-detail {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .subscription-detail i {
    margin-right: 0;
    margin-left: 0.4rem;
}

.subscription-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d6efd;
    margin-left: 1.5rem;
    white-space: nowrap;
}

[dir="rtl"] .subscription-price {
    margin-left: 0;
    margin-right: 1.5rem;
}

.subscription-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
}

[dir="rtl"] .subscription-actions {
    margin-left: 0;
    margin-right: 1.5rem;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-action:hover {
    background-color: #e9ecef;
    color: #495057;
}

.btn-action.btn-edit:hover {
    background-color: #cfe2ff;
    color: #0d6efd;
}

.btn-action.btn-print:hover {
    background-color: #d1e7dd;
    color: #198754;
}

.btn-action.btn-delete:hover {
    background-color: #f8d7da;
    color: #dc3545;
}

/* Dark Mode Support */
body.dark-mode .subscription-card {
    background-color: #1e1e2d;
    border-color: #2b2b40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .subscription-name {
    color: #ffffff;
}

body.dark-mode .subscription-detail {
    color: #b5b5c3;
}

body.dark-mode .subscription-detail i {
    color: #6c757d;
}

body.dark-mode .btn-action {
    background-color: #2b2b40;
    color: #b5b5c3;
}

body.dark-mode .btn-action:hover {
    background-color: #323248;
    color: #ffffff;
}

body.dark-mode .text-muted.bg-white {
    background-color: #1e1e2d !important;
    color: #b5b5c3 !important;
}
