/* Services Styles */

.back-to-categories {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-to-categories:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 2px solid #444;
    border-radius: 25px;
    background: #2c2c2c;
    color: #e0e0e0;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: #ff6b35;
}

/* Categories Filter */
.categories-filter {
    background: #2c2c2c;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid #444;
}

.categories-filter h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    background: #444;
    color: #e0e0e0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.category-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #ff6b35;
    color: white;
}

/* Services Section */
.services-section {
    background: #2c2c2c;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #444;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #444;
}

.services-header h3 {
    color: #ff6b35;
    font-size: 1.5rem;
}

.services-count {
    color: #888;
    font-size: 0.9rem;
}

/* Services List */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-item {
    background: #2c2c2c;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item:hover {
    background: #3a3a3a;
    border-color: #ff6b35;
    transform: translateX(5px);
}

.service-main-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e0e0e0;
    line-height: 1.3;
    flex: 1;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #888;
    font-size: 0.85rem;
}

.service-rate {
    background: #ff6b35;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}

.service-limits {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #aaa;
}

.service-features {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.feature-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.feature-badge.active {
    background: #4CAF50;
}

.feature-badge.inactive {
    background: #f44336;
}

.service-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: #e55a30;
    transform: translateY(-2px);
}

/* Responsive Services */
@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .service-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-actions {
        justify-content: space-between;
        align-items: center;
    }
}
