/* MySQL Monitor - Custom Styles */

/* Navigation links */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    transition: all 0.15s;
    text-decoration: none;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e5e7eb;
}

.nav-link.active {
    background-color: rgba(52, 211, 153, 0.1);
    color: #34d399;
}

/* Tab buttons */
.tab-btn {
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-size: 0.875rem;
    transition: all 0.15s;
    background: none;
    cursor: pointer;
}

.tab-btn:hover {
    color: #d1d5db;
}

.tab-btn.active {
    color: #34d399;
    border-bottom-color: #34d399;
}

/* Stat cards */
.stat-card {
    background-color: rgb(17 24 39);
    border: 1px solid rgb(31 41 55);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}

/* Input fields */
.input-field {
    background-color: rgb(31 41 55);
    border: 1px solid rgb(55 65 81);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
}

.input-field:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}

.input-field::placeholder {
    color: #6b7280;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgb(17 24 39);
}

::-webkit-scrollbar-thumb {
    background: rgb(55 65 81);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(75 85 99);
}

/* Table row hover */
table tbody tr {
    transition: background-color 0.1s;
}

/* Chart container sizing */
canvas {
    max-height: 200px;
}

/* Modal backdrop click to close */
.modal-backdrop {
    cursor: pointer;
}
