body {
    font-family: 'Inter', sans-serif;
}

.sidebar-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: block;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

.sidebar-link:hover {
    background-color: #f45221; /* Darker Red for hover */
    color: white;
    transform: translateX(4px);
}

.sidebar-link.active {
    background-color: #000000; /* Black for active */
    color: white;
    transform: translateX(4px);
}

.sidebar-tab.active {
  background: #f45a3bff;
  color: #fff;
  font-weight: bold;
}


.card {
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.modal-overlay {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
}

.table-row:hover {
    background-color: #E0F2FE; /* Light Sky Blue */
}

.chart-container {
    height: 400px;
    position: relative;
}

/* --- 3D Button Styles --- */
.btn-3d {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    color: white; /* White text for better contrast */
    transition: all 150ms ease-in-out;
    border-bottom-width: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-3d:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
}

/* Primary - Sky Blue */
.btn-primary {
    background-color: #38BDF8; /* sky-400 */
    border-color: #0284C7; /* sky-600 */
}
.btn-primary:hover {
    background-color: #7DD3FC; /* sky-300 */
}
.btn-primary:active {
    background-color: #0EA5E9; /* sky-500 */
}

/* Action (Edit) - Black */
.btn-action {
    background-color: #1F2937; /* gray-800 */
    border-color: #000000; /* black */
}
.btn-action:hover {
    background-color: #374151; /* gray-700 */
}
.btn-action:active {
    background-color: #111827; /* gray-900 */
}

/* Danger (Delete) - Red */
.btn-danger {
    background-color: #f32222; /* red-500 */
    border-color: #B91C1C; /* red-700 */
}
.btn-danger:hover {
    background-color: #e91d1d; /* red-400 */
}
.btn-danger:active {
    background-color: #DC2626; /* red-600 */
}

/* View - Sky Blue (Lighter) */
.btn-view {
    background-color: #06B6D4; /* cyan-500 */
    border-color: #0E7490; /* cyan-700 */
}
.btn-view:hover {
    background-color: #22D3EE; /* cyan-400 */
}
.btn-view:active {
    background-color: #0891B2; /* cyan-600 */
}

/* Close - Gray */
.btn-close {
    background-color: #6B7280; /* gray-500 */
    border-color: #4B5563; /* gray-600 */
    color: white;
}
.btn-close:hover {
    background-color: #4B5563; /* gray-600 */
}
.btn-close:active {
    background-color: #374151; /* gray-700 */
}
