body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    overflow: hidden;
    display: none;
    /* Hidden until auth check in app.init() */
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

/* Modal Styles */
div:where(.swal2-container) div:where(.swal2-popup) {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 25px;
    width: 600px !important;
}

.swal2-title {
    color: white !important;
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
}

.swal2-html-container {
    margin: 0 !important;
    overflow: visible !important;
    text-align: left !important;
}

/* Inputs Custom */
.custom-field {
    background-color: #0f172a;
    border: 1px solid #475569;
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    width: 100%;
    height: 2.5rem;
    outline: none;
    display: block;
    transition: all 0.2s ease;
}

.custom-field:focus {
    border-color: #6366f1;
}

.field-error {
    border-color: #ff4d4d !important;
    background-color: rgba(255, 77, 77, 0.05) !important;
    box-shadow: 0 0 0 1px rgba(255, 77, 77, 0.2);
}

.text-error-msg {
    color: #ff4d4d;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    height: 18px;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.text-error-msg.visible {
    opacity: 1;
}

.field-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

input[type="date"],
input[type="datetime-local"] {
    color-scheme: dark;
}

.dash-date {
    background: #334155;
    border: 1px solid #475569;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    outline: none;
    width: 100%;
}

/* KANBAN LAYOUT */
.kanban-wrapper {
    display: flex;
    gap: 0.8rem;
    height: 100%;
    width: 100%;
    padding-bottom: 0.5rem;
}

.kanban-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 100%;
}

.kanban-header {
    padding: 0.75rem;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    border-radius: 0.75rem 0.75rem 0 0;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 200px;
}

.kanban-card {
    transition: transform 0.1s;
    border-left-width: 4px;
    cursor: grab;
    background: #1e293b;
    position: relative;
    user-select: none;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.btn-active {
    background: white;
    color: #0f172a;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-inactive {
    color: #94a3b8;
}

.action-btn {
    opacity: 0.6;
    transition: opacity 0.2s;
    cursor: pointer;
}

.action-btn:hover {
    opacity: 1;
}

.chart-box {
    height: 18rem;
}