body {
    padding: 20px;
    background-color: #f8f9fa;
}

#claims-list {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.claim-item {
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.claim-item:hover {
    background-color: #f8f9fa;
    border-left: 3px solid #4CAF50;  /* Green border on hover */
}

.claim-item.active {
    background-color: #4CAF50 !important;  /* Green background */
    color: white !important;  /* White text */
    border-left: 3px solid #45a049 !important;  /* Darker green border */
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

.card-header {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.text-muted {
    font-size: 0.8rem;
}

.decision-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.decision-text h3,
.decision-text h4,
.decision-text h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.decision-text ul,
.decision-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.decision-text li {
    margin-bottom: 0.5rem;
}

.decision-text p {
    margin-bottom: 1rem;
}

.decision-text strong {
    color: #2c3e50;
}

/* Navbar styling */
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1rem;
    margin-right: 1rem;
    color: white !important;
}

.nav-link:hover {
    text-decoration: underline;
}

/* Form Styles */
.letter-content {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Letter Styles */
.letter-header {
    margin-bottom: 2rem;
    color: #666;
}

.letter-body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #333;
}

.letter-body p {
    margin-bottom: 1rem;
}

.letter-content-block {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 3px solid #007bff;
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-approved {
    background-color: #28a745;
}

.status-pending {
    background-color: #ffc107;
}

.status-rejected {
    background-color: #dc3545;
}

/* Animation for loading */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading-pulse {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Form badges */
.form-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badge-tow {
    background-color: #ff9800;
    color: white;
}

.badge-writeoff {
    background-color: #f44336;
    color: white;
}

/* Improve button styles */
.btn {
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Stats styles */
.stat-item {
    padding: 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.stat-item h4 {
    margin: 0;
    font-weight: bold;
    color: #007bff;
}

/* Batch Processing Styles */
#batch-process-btn {
    margin-right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

#batch-processing-progress {
    height: 20px;
    font-size: 0.8rem;
    line-height: 20px;
    transition: width 0.6s ease;
}

#batch-processing-status {
    font-weight: 500;
    margin-bottom: 10px;
}

#batch-results-container {
    max-height: 300px;
    overflow-y: auto;
}

.view-result-btn {
    padding: 0.1rem 0.5rem;
    font-size: 0.8rem;
}

/* Modal customizations */
.modal-header {
    padding: 0.75rem 1rem;
}

.modal-title {
    font-weight: 500;
    font-size: 1.1rem;
}

.modal-lg {
    max-width: 800px;
}