/* Cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--text-muted);
}

.card.kpi-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card.kpi-caution {
    border-left: 4px solid var(--accent-warning);
}

.card.kpi-good {
    border-left: 4px solid var(--accent-success);
}

.card.kpi-critical {
    border-left: 4px solid var(--accent-danger);
}

/* Headers */
h1,
h2,
h3 {
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00b8cc;
    /* Darker cyan */
    color: #000;
    box-shadow: var(--shadow-neon);
}

/* Inputs */
input,
select,
textarea {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    width: 100%;
    font-family: var(--font-mono);
    margin-bottom: var(--space-md);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.1);
}

/* List Items */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        background-color: rgba(0, 229, 255, 0.1);
        border-left: 4px solid var(--accent-success);
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.list-item.marking-paid {
    animation: slideOutRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

.list-item:first-child {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.list-item:last-child {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    border-bottom: none;
}

.list-item:hover {
    background-color: var(--bg-card-hover);
}

/* Utilities */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-muted {
    color: var(--text-muted);
}

.text-mono {
    font-family: var(--font-mono);
}

.text-success {
    color: var(--accent-success);
}

.text-warning {
    color: var(--accent-warning);
}

.text-danger {
    color: var(--accent-danger);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb-4 {
    margin-bottom: var(--space-md);
}