/* Custom styles for the driving school management system */
.container {
    width: 100%;
    max-width: 100%;
}
/* Add subtle transitions */
.btn, .nav-link, .form-control {
    transition: all 0.3s ease;
}

/* Style dla wizualizacji logów importu */
.import-log {
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.import-log div {
    margin-bottom: 3px;
    padding: 3px 5px;
    border-radius: 3px;
}

.import-log .text-success {
    background-color: rgba(40, 167, 69, 0.1);
}

.import-log .text-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

.import-log .text-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.import-log .text-primary {
    font-weight: bold;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Custom styling for the dashboard panels */
.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Table styling */
.table-container {
    overflow-x: auto;
}

.table th {
    white-space: nowrap;
}

/* Ensure notes column text wraps properly */
.notes-column {
    max-width: 200px;
    white-space: normal;
    word-wrap: break-word;
}

/* Button adjustments for table actions */
.btn-group .btn {
    margin-right: 5px;
}

/* Custom styling for filters section */
.filters-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 0px;
    margin-bottom: 20px;
}

.filter-label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Modal improvements */
.modal-header {
    background-color: var(--bs-dark);
    color: white;
}

.modal-footer {
    border-top: 1px solid var(--bs-gray-700);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filters-section .col-md-2, 
    .filters-section .col-md-3, 
    .filters-section .col-md-6 {
        margin-bottom: 10px;
    }
    
    .dashboard-card {
        margin-bottom: 15px;
    }
}

/* Custom styles for checkboxes */
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Login page styling */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

/* Fix for DataTables buttons */
.dt-buttons {
    margin-bottom: 15px;
}
.event-modal{
    z-index:99999999999;
}

/* Client Documents Section Styles */
.document-item {
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.document-item:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.document-item:last-child {
    margin-bottom: 0;
}

.document-item .fas {
    color: #6c757d;
}

.document-item .fa-file-pdf {
    color: #dc3545;
}

.document-item .fa-file-word {
    color: #0d6efd;
}

.document-item .fa-file-excel {
    color: #198754;
}

.document-item .fa-file-image {
    color: #fd7e14;
}

.document-item .fa-file-alt {
    color: #6f42c1;
}

.document-item .fw-bold {
    color: #212529;
    font-size: 0.95rem;
}

.document-item .text-muted {
    font-size: 0.85rem;
    color:#212121 !important;
}

.section-content #no-documents-message {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

/* Document actions styling */
.document-actions {
    margin-top: 8px;
}

.document-actions .btn {
    font-size: 0.8rem;
    padding: 4px 8px;
}

/* Text break for long filenames */
.text-break {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.card{
    border-radius: 15px;
}
#bestServicesContent .d-flex {
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 5px;
}
#bestServicesContent .d-flex:last-child {
border-bottom:none;
}
.fc .fc-popover {
    z-index: 999;
}
.info-padd{
    padding:0px 20px 20px 20px
}
.very-small small{
    font-size:12px;
}