/* ===== Dashboard Components ===== */

/* Stats Cards Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: default;
}

.stats-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.stats-card.warning-border {
    border-left: 4px solid #f59e0b;
}

.stats-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stats-info {
    flex: 1;
}

.stats-info h3 {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 8px;
}

.stats-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.stats-value.warning-text {
    color: #f59e0b;
}

.stats-sub {
    font-size: 0.875rem;
    color: #6B7280;
}

.stats-trend {
    font-size: 0.875rem;
    font-weight: 600;
}

.stats-trend.positive {
    color: #059669;
}

.stats-trend.negative {
    color: #dc2626;
}

.stats-link {
    font-size: 0.875rem;
    color: #2563EB;
    font-weight: 500;
    margin-top: 4px;
}

/* Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

/* Section Cards */
.section-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

/* Quick Actions */
.action-buttons {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn {
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.action-btn:hover {
    background: #F3F4F6;
    border-color: #2563EB;
}

.btn-icon {
    font-size: 24px;
}

.btn-text {
    background: none;
    border: none;
    color: #2563EB;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 0.875rem;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Timeline / Activity */
.timeline-list {
    padding: 16px 24px;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.timeline-title {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
}

.timeline-time {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.timeline-desc {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 8px;
}

.timeline-badges {
    display: flex;
    gap: 8px;
}

/* ===== 工班相關元件 ===== */

.contract-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.contract-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
}

.contract-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contract-card.pending-border {
    border-left: 4px solid #f59e0b;
}

.contract-card.disabled-card {
    opacity: 0.6;
    background: #F9FAFB;
}

.contract-header {
    margin-bottom: 12px;
}

.contract-header > * {
    margin-bottom: 4px;
}

.company-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.contract-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #6B7280;
    flex-wrap: wrap;
    align-items: center;
}

.contract-stats {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
    margin: 12px 0;
    font-size: 0.875rem;
    flex-wrap: wrap;
    align-items: center;
}

.contract-stats > span {
    white-space: nowrap;
}

.contract-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.contract-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.contract-actions .btn {
    white-space: nowrap;
}

/* ===== Market Components ===== */

.market-tabs {
    display: flex;
    gap: 8px;
    padding: 20px 20px 0 20px;
    border-bottom: 2px solid #E5E7EB;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #6B7280;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: #2563EB;
    border-bottom-color: #2563EB;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.market-item {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.item-header {
    margin-bottom: 12px;
}

.item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.item-provider {
    font-size: 0.875rem;
    color: #6B7280;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563EB;
    margin: 12px 0;
}

.item-stats {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    font-size: 0.875rem;
    color: #6B7280;
}

/* ===== Market Components ===== */

.market-item-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    transition: all 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.market-item-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.market-item-card.pending-border {
    border-left: 4px solid #f59e0b;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background: #F9FAFB;
    border-radius: 8px;
    text-align: center;
}

.stat-box label {
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 4px;
}

.stat-box span {
    font-weight: 600;
    color: #111827;
}

.item-sub {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.4;
}

.item-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0;
}

.item-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
}

/* ===== Reports Components ===== */

.reports-tabs {
    display: flex;
    gap: 8px;
    padding: 20px 20px 0 20px;
    border-bottom: 2px solid #E5E7EB;
    background: white;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
}

@media (max-width: 1024px) {
    .report-grid {
        grid-template-columns: 1fr;
    }
}

.report-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: 0.95rem;
    color: #6B7280;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    margin-top: 16px;
}

.donut-chart-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-left: auto;
    border: 4px solid #f3f4f6;
}

.trend-chart {
    display: flex;
    align-items: flex-end;
    height: 40px;
    gap: 4px;
    margin-top: 10px;
}

.trend-bar {
    width: 100%;
    border-radius: 2px;
    opacity: 0.8;
}

.progress-bar {
    height: 8px;
    background-color: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.metric-box {
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    transition: background 0.2s;
}

.metric-box:hover {
    background: #F3F4F6;
}

/* ===== Settings Components ===== */

.admin-settings-grid {
    display: grid;
    gap: 24px;
    padding: 24px;
}

.settings-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.settings-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E5E7EB;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info {
    flex: 1;
}

.setting-label {
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.setting-desc {
    font-size: 0.875rem;
    color: #6B7280;
}

.setting-control {
    display: flex;
    gap: 8px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: #D1D5DB;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: #2563EB;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

.form-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.form-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.form-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    margin: 0;
}

.form-switch label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.form-switch input:checked + label {
    background-color: var(--primary-color, #2563EB);
}

.form-switch input:checked + label:before {
    transform: translateX(24px);
}

/* Settings Grid */
.settings-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

/* ===== Activity Log Components ===== */

.activity-list {
    padding: 20px;
}

.activity-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
}

.activity-icon {
    width: 48px;
    height: 48px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.activity-header strong {
    color: #111827;
    font-weight: 600;
}

.activity-time {
    font-size: 0.875rem;
    color: #9CA3AF;
}

/* ===== Badge Variants ===== */

.badge-primary {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-info {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-secondary {
    background: #E5E7EB;
    color: #4B5563;
}

.badge-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-sm {
    padding: 2px 6px;
    font-size: 0.7rem;
}

.badge-outline {
    background: transparent;
    border: 1px solid currentColor;
}

/* ===== Button Variants ===== */

.btn-outline {
    background: white;
    border: 1px solid #D1D5DB;
    color: #374151;
}

.btn-outline:hover {
    background: #F9FAFB;
}

.btn-success {
    background: #059669;
    color: white;
}

.btn-success:hover {
    background: #047857;
}

.btn-danger {
    background: #DC2626;
    color: white;
}

.btn-danger:hover {
    background: #B91C1C;
}

.vip-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

/* ===== Utility Classes ===== */

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

.p-4 {
    padding: 16px;
}

.w-full {
    width: 100%;
}

.float-right {
    float: right;
}

.margin-left-auto {
    margin-left: auto;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-secondary {
    color: #6B7280;
}

.text-danger {
    color: #DC2626;
}

.bg-white {
    background: white;
}

.bg-warning {
    background: #F59E0B;
}

.rounded {
    border-radius: 4px;
}

.rounded-bl {
    border-bottom-left-radius: 4px;
}

.shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.block {
    display: block;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.top-0 {
    top: 0;
}

.right-0 {
    right: 0;
}

.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.col-span-2 {
    grid-column: span 2;
}

/* ===== Form Elements ===== */

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

/* ===== Additional Utility Classes ===== */

.bg-primary {
    background: #2563EB;
}

.bg-success {
    background: #059669;
}

.bg-danger {
    background: #DC2626;
}

.bg-gray-50 {
    background: #F9FAFB;
}

.border {
    border: 1px solid #E5E7EB;
}

.border-b {
    border-bottom: 1px solid #E5E7EB;
}

.border-warning {
    border-color: #F59E0B;
}

.btn-group {
    display: flex;
    gap: 8px;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.contract-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vip-badge {
    font-size: 1.25rem;
    line-height: 1;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .report-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Modal Overlay ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    width: 100%;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-small {
    max-width: 400px;
}

.modal-medium {
    max-width: 600px;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #F3F4F6;
    color: #111827;
}

.modal-body {
    padding: 24px;
    max-height: calc(90vh - 160px);
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== Modal Form ===== */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-label .required {
    color: #EF4444;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 10px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input:read-only {
    background: #F9FAFB;
    color: #6B7280;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ===== Detail View ===== */
.detail-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6B7280;
}

.detail-value {
    font-size: 0.875rem;
    color: #111827;
}

.confirm-content {
    padding: 8px 0;
}

.confirm-content p {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* ===== Toast Notification ===== */
.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    min-width: 300px;
    max-width: 500px;
    transform: translateX(calc(100% + 24px));
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: #10B981;
    color: white;
}

.toast-error .toast-icon {
    background: #EF4444;
    color: white;
}

.toast-warning .toast-icon {
    background: #F59E0B;
    color: white;
}

.toast-info .toast-icon {
    background: #3B82F6;
    color: white;
}

.toast-message {
    font-size: 0.875rem;
    color: #111827;
    flex: 1;
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
}

.loading-spinner {
    background: white;
    padding: 32px 48px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #E5E7EB;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 0.9375rem;
    color: #6B7280;
    font-weight: 500;
}

/* ===== Additional Utility Classes for Task Templates ===== */

.space-y-2 > * + * {
    margin-top: 8px;
}

.space-y-4 > * + * {
    margin-top: 16px;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.border-blue-500 {
    border-color: #3b82f6;
}

.border-l-4 {
    border-left-width: 4px;
}

.max-h-96 {
    max-height: 24rem;
}

.overflow-y-auto {
    overflow-y: auto;
}

.hover\:shadow-md:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.p-3 {
    padding: 12px;
}

.p-sm {
    padding: 8px;
}

.gap-xs {
    gap: 4px;
}

.gap-3 {
    gap: 12px;
}

.items-start {
    align-items: flex-start;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.text-base {
    font-size: 1rem;
}

.pb-2 {
    padding-bottom: 8px;
}

.pt-3 {
    padding-top: 12px;
}

.border-t {
    border-top: 1px solid #E5E7EB;
}

.ml-2 {
    margin-left: 8px;
}

.ml-auto {
    margin-left: auto;
}

.ml-6 {
    margin-left: 24px;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.btn-warning {
    background: #F59E0B;
    color: white;
}

.btn-warning:hover {
    background: #D97706;
}
