/* styles.css - Executive Matte Dark Tone (Inspired by Reference UI) */

:root {
    --bg-main: #0c0e12;
    --bg-sidebar: #101317;
    --bg-card: #15181f;
    --bg-card-hover: #1b1f28;
    --bg-active-nav: #202632;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --accent-orange: #ff6b4a;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
}

body {
    background-color: var(--bg-main);
    color: #f3f4f6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Matte Card Surface */
.matte-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.matte-card:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-card-hover);
}

/* Category Card Aesthetic */
.category-card {
    background-color: rgba(21, 24, 31, 0.95);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
    background-color: #191d26;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Sidebar Nav Links */
.nav-item {
    transition: all 0.15s ease;
    color: #9ca3af;
}

.nav-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
    color: #ffffff;
    background-color: var(--bg-active-nav);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0c0e12;
}
::-webkit-scrollbar-thumb {
    background: #232730;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Modal Overlay */
.modal-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(6, 8, 11, 0.82);
}

/* Form inputs */
input, select, textarea {
    color-scheme: dark;
}

/* PIN Gateway Dots & Keypad */
.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background-color: transparent;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.pin-dot.filled {
    background-color: #f97316;
    border-color: #f97316;
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.65);
    transform: scale(1.2);
}
.pin-key-btn {
    transition: all 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
}
.pin-key-btn:active {
    transform: scale(0.93);
    background-color: rgba(249, 115, 22, 0.25);
}
