@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

:root {
    /* Dark theme colors only - updated to match sidebar */
    --bg-primary: #1e2329;
    --bg-secondary: #2a2d35;
    --bg-tertiary: #383b43;
    --bg-quaternary: #4b5563;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: #4b5563;
    --accent-primary: #60a5fa;
    --accent-secondary: #3b82f6;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-lg: rgba(0, 0, 0, 0.6);

    /* Additional variables for new components */
    --card-bg: #2a2d35;
    --input-bg: #383b43;
    --secondary-bg: #4b5563;
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --danger-color: #f87171;
    --danger-dark: #dc2626;
    --warning-color: #fbbf24;
    --warning-light: rgba(251, 191, 36, 0.1);
    --success-color: #34d399;
    --success-light: rgba(52, 211, 153, 0.1);
    --info-color: #60a5fa;
    --info-light: rgba(96, 165, 250, 0.1);
    --danger-light: rgba(248, 113, 113, 0.1);
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Form elements moved to forms.css */

/* Layout */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Cards */
/* Card styles moved to card.css */

/* Sidebar styles moved to sidebar.css */

/* Forms moved to forms.css */

/* File upload */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--bg-tertiary);
}

.file-upload-area:hover {
    border-color: var(--accent-primary);
    background-color: var(--bg-secondary);
}

.file-upload-area.dragover {
    border-color: var(--accent-primary);
    background-color: rgba(59, 130, 246, 0.1);
}

.file-upload-input {
    display: none;
}

.file-upload-text {
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* Tables - Clean Design */
.table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
}

.table th {
    background-color: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.table td {
    border-top: 1px solid var(--bg-tertiary);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.pending,
.status-badge.pending-approval {
    background: #d97706;
    color: white;
}

.status-badge.active {
    background: #059669;
    color: white;
}

.status-badge.denied {
    background: var(--danger-color);
    color: white;
}

.status-badge.completed {
    background: var(--info-color);
    color: white;
}

.status-badge.paused {
    background: #6b7280;
    color: white;
}

.status-badge.role {
    background-color: rgba(96, 165, 250, 0.1);
    color: var(--accent-primary);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Margins */
.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mr-4 {
    margin-right: 1rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-3 {
    margin-left: 0.75rem;
}

.ml-4 {
    margin-left: 1rem;
}

/* Padding */
.p-0 {
    padding: 0;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.pr-2 {
    padding-right: 0.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pr-6 {
    padding-right: 1.5rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

/* Width and Height */
.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

/* Max Width */
.max-w-800 {
    max-width: 800px;
}

.max-w-1000 {
    max-width: 1000px;
}

/* Flexbox utilities */
.flex-1 {
    flex: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Grid utilities */
.grid-span-full {
    grid-column: 1 / -1;
}

.grid-gap-2 {
    gap: 0.5rem;
}

.grid-gap-4 {
    gap: 1rem;
}

.grid-gap-8 {
    gap: 2rem;
}

/* Display utilities */
.d-none {
    display: none;
}

.d-inline {
    display: inline;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-inline-flex {
    display: inline-flex;
}

/* Material Icons utilities */
.icon-small {
    font-size: 1rem;
}

.icon-medium {
    font-size: 1.25rem;
}

.icon-large {
    font-size: 1.5rem;
}

.icon-xl {
    font-size: 2rem;
}

.icon-xxl {
    font-size: 3rem;
}

.icon-xxxl {
    font-size: 4rem;
}

.icon-vertical {
    vertical-align: middle;
}

/* Color utilities */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-danger {
    color: var(--danger);
}

.text-accent {
    color: var(--accent-primary);
}

/* Background utilities */
.bg-primary {
    background-color: var(--bg-primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.bg-tertiary {
    background-color: var(--bg-tertiary);
}

.bg-quaternary {
    background-color: var(--bg-quaternary);
}

.bg-success {
    background-color: var(--success);
}

.bg-warning {
    background-color: var(--warning);
}

.bg-danger {
    background-color: var(--danger);
}

.bg-accent {
    background-color: var(--accent-primary);
}

/* Border utilities */
.border-primary {
    border-color: var(--border-color);
}

.border-accent {
    border-color: var(--accent-primary);
}

.border-danger {
    border-color: var(--danger);
}

.border-success {
    border-color: var(--success);
}

.border-2 {
    border-width: 2px;
}

.border-4 {
    border-width: 4px;
}

.border-dashed {
    border-style: dashed;
}

.border-solid {
    border-style: solid;
}

/* Font utilities */
.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

/* Rounded corners */
.rounded {
    border-radius: 0.25rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 50%;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px var(--shadow);
}

.shadow-md {
    box-shadow: 0 4px 6px var(--shadow);
}

.shadow-lg {
    box-shadow: 0 8px 16px var(--shadow);
}

.shadow-xl {
    box-shadow: 0 16px 32px var(--shadow-lg);
}

/* Word break */
.break-all {
    word-break: break-all;
}

/* Specific component utilities */
.step-circle {
    padding: 0.75rem;
    border-radius: 50%;
    margin-right: 0.5rem;
    color: white;
    font-weight: 500;
}

.step-line {
    width: 2rem;
    height: 2px;
    background-color: var(--border-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--accent-primary);
}

.warrant-section-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.warrant-info-box {
    background-color: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.warrant-error-box {
    background-color: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.warrant-success-icon {
    background-color: var(--success);
    color: white;
    padding: 2rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warrant-error-icon {
    background-color: var(--danger);
    color: white;
    padding: 2rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warrant-link-box {
    background-color: var(--bg-primary);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px dashed var(--border-color);
    margin-bottom: 1rem;
}

.warrant-info-highlight {
    background-color: rgba(59, 130, 246, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.form-file-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: var(--bg-tertiary);
    border-radius: 0.5rem;
}

.no-decoration {
    text-decoration: none;
}

.no-decoration:hover {
    text-decoration: none;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none;
    }

    .d-md-inline {
        display: inline;
    }

    .d-md-block {
        display: block;
    }

    .max-w-md-200 {
        max-width: 200px;
    }
}

/* Responsive design */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .grid-md-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-lg-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-lg-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile menu and sidebar overlay styles moved to sidebar.css */

/* Dynamic charge list */
.charge-list {
    margin-top: 1rem;
}

.charge-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    align-items: end;
    width: 100%;
}

/* charge-item input moved to forms.css */

.charge-count {
    width: 80px;
}

.add-charge-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Charge delete button - clean icon only */
.charge-delete-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 2rem;
    height: 2rem;
}

.charge-delete-btn:hover {
    color: var(--danger-dark);
    background: rgba(248, 113, 113, 0.1);
}

.charge-delete-btn .material-icons {
    font-size: 1.25rem;
}

/* Evidence file delete button */
.evidence-file-delete-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 1.5rem;
    height: 1.5rem;
}

.evidence-file-delete-btn:hover {
    color: var(--danger-dark);
    background: rgba(248, 113, 113, 0.1);
}

/* Custom confirm buttons */
.custom-confirm-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.custom-confirm-btn.cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.custom-confirm-btn.cancel:hover {
    background: var(--bg-tertiary);
}

.custom-confirm-btn.confirm {
    background: var(--danger);
    color: white;
}

.custom-confirm-btn.confirm:hover {
    background: #dc2626;
}

/* Warrant type change buttons */
.warrant-type-change-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.warrant-type-change-btn.cancel {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.warrant-type-change-btn.cancel:hover {
    background: var(--bg-tertiary);
}

.warrant-type-change-btn.proceed {
    background: var(--accent-primary);
    color: white;
}

.warrant-type-change-btn.proceed:hover {
    background: var(--accent-secondary);
}

/* Error page buttons */
.error-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.error-button-primary {
    background: var(--accent-primary);
    color: white;
}

.error-button-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.error-button-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.error-button-secondary:hover {
    background: var(--bg-tertiary);
}

/* Theme toggle button */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
}

/* Ensure charges container takes full width */
#charges-container {
    width: 100%;
}

.charge-item .flex {
    width: 100%;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Dashboard Layout - Clean Design */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05) 0%, rgba(96, 165, 250, 0.02) 100%);
    border-radius: 1rem;
}

.dashboard-header-content {
    flex: 1;
}

.dashboard-welcome {
    margin-bottom: 0.5rem;
}

.dashboard-greeting {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    display: block;
    margin-bottom: 0.25rem;
}

.dashboard-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.2;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    margin: 0.75rem 0 0 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.dashboard-subtitle .material-icons {
    color: var(--accent-primary);
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

/* btn-primary styles moved to buttons.css */

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.stats-section {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.actions-section {
    margin-bottom: 3rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.warrants-section {
    margin-bottom: 2rem;
}

.warrants-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.warrants-count {
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.empty-state-card {
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    padding: 0;
}

.table-wrapper {
    overflow-x: auto;
}

.warrants-table {
    width: 100%;
    border-collapse: collapse;
}

.warrants-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    background-color: var(--bg-tertiary);
}

.warrants-table td {
    padding: 1rem;
    border-top: 1px solid var(--bg-tertiary);
}

.warrant-type {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.warrant-type .material-icons {
    color: var(--text-muted);
}

.officer-cell,
.department-cell {
    color: var(--text-secondary);
}

.date-cell {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* action-buttons and btn-icon styles moved to buttons.css */

/* Responsive Design */
@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        padding: 1.5rem;
    }

    .dashboard-title {
        font-size: 1.875rem;
    }

    .dashboard-actions {
        justify-content: stretch;
    }

    /* btn-primary responsive styles moved to buttons.css */

    .warrants-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.close-modal {
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

.warning-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--danger-color);
}

.warning-icon {
    font-size: 2rem;
    color: var(--danger-color);
}

.modal-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Form Styles moved to forms.css */

/* Button Styles moved to buttons.css */

/* Responsive Design */
@media (max-width: 768px) {
    .user-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
    }

    .modal-actions {
        flex-direction: column;
    }

    /* modal-actions button styles moved to buttons.css */
}

/* Warrant List Styles */
.warrant-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.warrant-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.warrant-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.warrant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.warrant-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.warrant-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background: var(--warning-light);
    color: var(--warning-color);
}

.status-active {
    background: var(--success-light);
    color: var(--success-color);
}

.status-denied {
    background: var(--danger-light);
    color: var(--danger-color);
}

.status-completed {
    background: var(--info-light);
    color: var(--info-color);
}

.warrant-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.meta-value {
    font-size: 1rem;
    color: var(--text-primary);
}