/* Samarios Panel - Custom Styles */

html {
    color-scheme: dark;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #2a2f3a;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a4150;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #2a2f3a transparent;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Table hover */
table tbody tr:hover {
    background-color: rgba(99, 102, 241, 0.06);
}

/* Button transitions */
button {
    transition: all 0.15s ease;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    cursor: not-allowed;
}

/* Inputs */
input, select, textarea {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Selection color */
::selection {
    background: rgba(99, 102, 241, 0.35);
    color: #fff;
}

/* Focus outlines only for keyboard navigation */
:focus:not(:focus-visible) {
    outline: none;
}

/* Monospace tables for credentials */
.font-mono {
    font-feature-settings: "liga" 0;
}
