/* Admin action buttons styling */
.admin-actions .btn {
    margin-right: 0.25rem;
}

.admin-actions .btn:last-child {
    margin-right: 0;
}

/* Modal improvements */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Form improvements */
.form-label {
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.required-field::after {
    content: " *";
    color: #dc3545;
}

/* Validation styling */
.validation-message {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Button group improvements */
.btn-group .btn {
    border-radius: 0.25rem;
    margin-right: 0.125rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}

/* Table improvements for admin columns */
.table th:last-child,
.table td:last-child {
    text-align: center;
    width: 120px;
}

/* Success state for create button */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Loading states */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Alert improvements */
.alert {
    border-radius: 0.375rem;
}

/* Details/summary styling */
details {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
}

details summary {
    cursor: pointer;
    font-weight: 500;
    padding: 0.25rem 0;
}

details summary:hover {
    color: #0d6efd;
}

details[open] summary {
    margin-bottom: 0.75rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .expendable-column {
        display: none;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 0.25rem;
        margin-right: 0;
        border-radius: 0.25rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
}