/* استایل‌های عمومی */
.services-container {
    max-width: 900px;
    width: 100%;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.services-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* استایل‌های جدول */
.table th, .table td {
    vertical-align: middle;
    text-align: center;
}

.table thead {
    background: #2c3e50;
    color: white;
}

/* استایل‌های فرم */
.form-container {
    max-width: 600px;
    width: 100%;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-control, .select2-container--default .select2-selection--multiple {
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.form-control:focus, .select2-container--default .select2-selection--multiple:focus {
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    outline: none;
}

.btn-submit {
    border-radius: 10px;
    padding: 12px;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.form-label {
    font-weight: 600;
    color: #34495e;
}

.required::after {
    content: '*';
    color: red;
    margin-right: 4px;
}

/* استایل‌های جستجو */
.search-box {
    margin-bottom: 20px;
}

.btn-add {
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: transform 0.2s ease;
    margin-bottom: 20px;
}

.btn-add:hover {
    transform: scale(1.05);
}

/* استایل‌های دکمه‌های عملیات */
.btn-edit, .btn-delete {
    margin: 0 5px;
}

/* استایل‌های مودال */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    background: #2c3e50;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* استایل‌های Select2 */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    min-height: 45px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
}

/* استایل‌های موبایل */
@media (max-width: 768px) {
    .services-container, .form-container {
        padding: 15px;
        margin: 10px;
    }
    
    .table-responsive {
        margin-bottom: 15px;
    }
    
    .btn-add {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .d-flex {
        flex-direction: column;
    }
} 