/* Service Config Table Styles */
#servicesTable .badge {
    font-size: 0.9em;
    padding: 0.4em 0.6em;
}

#servicesTable .badge-success {
    background-color: #28a745;
}

#servicesTable .badge-danger {
    background-color: #dc3545;
}

/* Service Config Actions */
#servicesTable .btn {
    margin: 0 2px;
}

/* JSON textarea formatting */
textarea[name="config_data"] {
    font-family: monospace;
    font-size: 0.9em;
    white-space: pre;
}

/* Basic Config Form */
#basicConfigForm .form-group {
    margin-bottom: 1.5rem;
}

#basicConfigForm label {
    font-weight: 600;
}

/* Service Modal Styles */
.modal textarea[name="config_data"] {
    min-height: 150px;
}

.modal .form-text {
    color: #6c757d;
    font-size: 0.85em;
}

/* Content Header Styles */
.content-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Card Styles */
.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 1rem;
}

.card-header {
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border-color: #006fe6;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Form Validation Styles */
.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: #28a745;
}

/* Toast Notification Customization */
.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-title {
        font-size: 1rem;
    }
    
    #servicesTable .btn {
        padding: .2rem .4rem;
    }
    
    .content-header h1 {
        font-size: 1.5rem;
    }
}