/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Mobile First - Base Styles */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #D2B48C;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.theme-icon {
    font-size: 1.25rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Navigation */
.navigation {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-btn {
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    min-width: fit-content;
}

.nav-btn:hover {
    color: #D2B48C;
    background-color: #f1f5f9;
}

.nav-btn.active {
    color: #D2B48C;
    border-bottom-color: #D2B48C;
    background-color: #f1f5f9;
}

.offense-counter {
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    min-width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}

.offense-counter:empty,
.offense-counter[data-count="0"] {
    display: none;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Search Bar */
.search-bar {
    display: flex;
    margin-bottom: 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-btn {
    background: #D2B48C;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background: #BC9A6A;
}

/* Categories Accordion */
.categories-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-section {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}

.category-header:hover {
    background: #f1f5f9;
}

.category-header.active {
    background: #F5DEB3;
    border-bottom: 1px solid #e2e8f0;
}

.category-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.count {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.expand-icon {
    color: #64748b;
    transition: transform 0.2s;
    font-size: 0.875rem;
}

.category-header.active .expand-icon {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-content.active {
    max-height: 1000px;
}

/* Offense Items */
.offense-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}

.offense-item:last-child {
    border-bottom: none;
}

.offense-item:hover {
    background: #f8fafc;
}

.offense-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.offense-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
}

.offense-penalty {
    color: #64748b;
    font-size: 0.8rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    text-align: center;
    font-size: 0.875rem;
    outline: none;
}

.quantity-input:focus {
    border-color: #cbd5e1;
}

.add-btn {
    background: #D2B48C;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.add-btn:hover {
    background: #BC9A6A;
}

.add-btn:active {
    transform: scale(0.95);
    background: #BC9A6A;
}

/* Selected Offenses in Calculator */
.selected-offense {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.selected-offense-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.selected-offense-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.875rem;
}

.selected-offense-details {
    color: #64748b;
    font-size: 0.75rem;
}

.remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.remove-btn:hover {
    background: #dc2626;
}

/* Calculator Layout */
.calculator-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.selected-offenses, .penalty-summary {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.selected-offenses h3, .penalty-summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.offense-list {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-message {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
}

.penalty-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.penalty-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.penalty-item .label {
    color: #64748b;
    font-weight: 500;
}

.penalty-item .value {
    color: #1e293b;
    font-weight: 600;
}

.action-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.action-btn.primary {
    background: #16a34a;
    color: white;
}

.action-btn.primary:hover {
    background: #15803d;
}

.action-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.action-btn.secondary:hover {
    background: #e2e8f0;
}

/* Search Layout */
.search-layout {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    margin-bottom: 1.5rem;
}

.search-filters {
    margin-top: 1rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    background: white;
    font-size: 1rem;
    color: #334155;
    outline: none;
    cursor: pointer;
}

.filter-select:focus {
    border-color: #D2B48C;
}

.search-results {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    min-height: 300px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover {
    border-color: #D2B48C;
    background: #f1f5f9;
}

.search-result-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.search-result-item .result-meta {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.875rem;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header {
        padding: 1.5rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 2rem;
    }
    
    .calculator-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .navigation {
        justify-content: center;
    }
    
    .nav-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .offense-item {
        padding: 1.25rem;
    }
    
    .offense-name {
        font-size: 1rem;
    }
    
    .offense-penalty {
        font-size: 0.875rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .header {
        padding: 2rem;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .header h1 {
        font-size: 1.875rem;
    }
    
    .main-content {
        padding: 2.5rem;
    }
    
    .search-bar {
        max-width: 500px;
        margin: 0 auto 2rem auto;
    }
    
    .nav-btn {
        padding: 1.25rem 2.5rem;
    }
    
    .quantity-controls {
        gap: 0.75rem;
    }
    
    .offense-item {
        padding: 1.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .calculator-layout {
        gap: 2rem;
    }
}

/* Focus States for Accessibility */
.nav-btn:focus,
.search-btn:focus,
.action-btn:focus,
.category-card:focus {
    outline: none;
    outline-offset: 0;
}

.search-input:focus,
.filter-select:focus {
    border-color: #e2e8f0;
    box-shadow: none;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e2e8f0;
    border-top-color: #D2B48C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ticket Overlay */
.ticket-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.ticket-overlay.active {
    display: flex;
}

.ticket-modal {
    background: white;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.ticket-header {
    background: #f8fafc;
    color: #1e293b;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0.5rem 0.5rem 0 0;
}

.ticket-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.close-ticket {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.close-ticket:hover {
    background: #e2e8f0;
}

.ticket-body {
    padding: 1.5rem;
}

.violations-list {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.violations-list li {
    list-style: disc;
    margin-left: 1.2rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.violations-list li:last-child {
    margin-bottom: 0;
}

.violation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.violation-item:last-child {
    border-bottom: none;
}

.violation-name {
    font-weight: 500;
    color: #1e293b;
    flex: 1;
    font-size: 0.9rem;
}

.violation-count {
    background: #D2B48C;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.75rem;
}

.violation-penalty {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}

.penalty-section h3 {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
}

.penalty-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    gap: 1rem;
}

.penalty-row.additional {
    border-top: 1px solid #e2e8f0;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.penalty-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.penalty-value {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.penalty-value ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.penalty-value li {
    margin-bottom: 0.25rem;
    color: #1e293b;
    font-size: 0.8rem;
}

.penalty-value li:last-child {
    margin-bottom: 0;
}

.penalty-value li::before {
    content: "• ";
    color: #64748b;
}

.ticket-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
}

.ticket-actions .action-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ticket-actions .action-btn.primary {
    background: #16a34a;
    color: white;
}

.ticket-actions .action-btn.primary:hover {
    background: #15803d;
}

.ticket-actions .action-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.ticket-actions .action-btn.secondary:hover {
    background: #e2e8f0;
}

.ticket-footer {
    border-top: 2px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.warning-text {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.warning-text p {
    color: #92400e;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.warning-text p:last-child {
    margin-bottom: 0;
}

.signature-section {
    display: flex;
    justify-content: flex-end;
}

.signature-line {
    text-align: center;
    border-top: 1px solid #64748b;
    padding-top: 0.5rem;
    width: 200px;
}

.signature-line span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 500;
}

.ticket-actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: #f8fafc;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Print Styles for Ticket */
@media print {
    body * {
        visibility: hidden;
    }
    
    .ticket-overlay,
    .ticket-overlay * {
        visibility: visible;
    }
    
    .ticket-overlay {
        position: static;
        background: white;
        padding: 0;
        display: block !important;
    }
    
    .ticket-modal {
        box-shadow: none;
        max-width: none;
        max-height: none;
        overflow: visible;
        border-radius: 0;
    }
    
    .ticket-actions,
    .close-ticket {
        display: none !important;
    }
    
    .ticket-header {
        background: #D2B48C !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .violations-list,
    .penalty-details {
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .warning-text {
        background: #fef3c7 !important;
        border-color: #f59e0b !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .violation-count {
        background: #D2B48C !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Mobile responsive for ticket */
@media (max-width: 768px) {
    .ticket-overlay {
        padding: 0.5rem;
    }
    
    .ticket-modal {
        max-height: 95vh;
    }
    
    .ticket-header {
        padding: 1rem;
    }
    
    .ticket-logo {
        gap: 0.75rem;
    }
    
    .ticket-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .ticket-title h2 {
        font-size: 1rem;
    }
    
    .ticket-body {
        padding: 1rem;
    }
    
    .ticket-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .violation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .violation-penalty {
        align-self: flex-end;
    }
    
    .penalty-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .penalty-value {
        align-self: flex-end;
    }
    
    .ticket-actions {
        flex-direction: column;
    }
}

/* Dark Theme */
body.dark-theme {
    background: #000000;
    color: #e2e8f0;
}

.dark-theme .header {
    background: #1a1a1a;
}

.dark-theme .navigation {
    background: #1a1a1a;
    border-bottom-color: #333333;
}

.dark-theme .nav-btn {
    color: #94a3b8;
    border-bottom-color: transparent;
}

.dark-theme .nav-btn:hover {
    color: #e2e8f0;
    background: #2d2d2d;
}

.dark-theme .nav-btn.active {
    color: #D2B48C;
    border-bottom-color: #D2B48C;
    background: #2d2d2d;
}

.dark-theme .search-bar {
    background: #1a1a1a;
    border-color: #333333;
}

.dark-theme .search-input {
    background: #1a1a1a;
    color: #e2e8f0;
}

.dark-theme .search-input::placeholder {
    color: #64748b;
}

.dark-theme .search-btn {
    background: #D2B48C;
}

.dark-theme .search-btn:hover {
    background: #BC9A6A;
}

.dark-theme .category-section {
    background: #2A211C;
    border-color: #3A2F2A;
}

.dark-theme .category-header {
    background: #2A211C;
}

.dark-theme .category-header:hover {
    background: #3A2F2A;
}

.dark-theme .category-header.active {
    background: #D2B48C;
}

.dark-theme .category-header h3 {
    color: #e2e8f0;
}

.dark-theme .count {
    background: #3A2F2A;
    color: #C4A484;
}

.dark-theme .expand-icon {
    color: #C4A484;
}

.dark-theme .offense-item {
    border-bottom-color: #3A2F2A;
}

.dark-theme .offense-item:hover {
    background: #3A2F2A;
}

.dark-theme .offense-name {
    color: #e2e8f0;
}

.dark-theme .offense-penalty {
    color: #94a3b8;
}

.dark-theme .quantity-input {
    background: #2d2d2d;
    border-color: #404040;
    color: #e2e8f0;
}

.dark-theme .quantity-input:focus {
    border-color: #4b5563;
}

.dark-theme .selected-offenses,
.dark-theme .penalty-summary,
.dark-theme .search-results {
    background: #1a1a1a;
    border-color: #333333;
}

.dark-theme .selected-offenses h3,
.dark-theme .penalty-summary h3 {
    color: #e2e8f0;
}

.dark-theme .selected-offense {
    background: #2d2d2d;
    border-color: #404040;
}

.dark-theme .selected-offense-name {
    color: #e2e8f0;
}

.dark-theme .selected-offense-details {
    color: #94a3b8;
}

.dark-theme .penalty-item {
    background: #2d2d2d;
}

.dark-theme .penalty-item .label {
    color: #94a3b8;
}

.dark-theme .penalty-item .value {
    color: #e2e8f0;
}

.dark-theme .action-btn.secondary {
    background: #334155;
    color: #94a3b8;
    border-color: #475569;
}

.dark-theme .action-btn.secondary:hover {
    background: #475569;
    color: #e2e8f0;
}

.dark-theme .filter-select {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.dark-theme .search-result-item {
    background: #2d2d2d;
    border-color: #404040;
}

.dark-theme .search-result-item:hover {
    border-color: #D2B48C;
    background: #404040;
}

.dark-theme .search-result-item h4 {
    color: #e2e8f0;
}

.dark-theme .search-result-item .result-meta {
    color: #94a3b8;
}

.dark-theme .empty-message {
    color: #64748b;
}

/* Dark Theme Ticket Overlay */
.dark-theme .ticket-modal {
    background: #1e293b;
    border: 1px solid #475569;
}

.dark-theme .ticket-body {
    background: #1e293b;
}

.dark-theme .ticket-header {
    background: #334155;
    border-bottom-color: #475569;
}

.dark-theme .ticket-header h2 {
    color: #e2e8f0;
}

.dark-theme .close-ticket {
    color: #94a3b8;
}

.dark-theme .close-ticket:hover {
    background: #475569;
    color: #e2e8f0;
}

.dark-theme .violations-list {
    background: #334155;
    border-color: #475569;
}

.dark-theme .violations-list li {
    color: #e2e8f0;
}

.dark-theme .penalty-section h3 {
    color: #e2e8f0;
}

.dark-theme .penalty-label {
    color: #94a3b8;
}

.dark-theme .penalty-value {
    color: #e2e8f0;
}

.dark-theme .penalty-value li {
    color: #e2e8f0;
}

.dark-theme .penalty-value li::before {
    color: #94a3b8;
}

.dark-theme .ticket-actions {
    border-top-color: #475569;
    background: #1e293b;
}

.dark-theme .ticket-actions .action-btn.secondary {
    background: #334155;
    color: #e2e8f0;
    border-color: #475569;
}

.dark-theme .ticket-actions .action-btn.secondary:hover {
    background: #475569;
    color: #f8fafc;
}

.dark-theme .theme-toggle {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.dark-theme .theme-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
}

.dark-theme .offense-counter {
    background: #ef4444;
    color: white;
}
