/* Jao Portal — minimal overrides on top of Tailwind */

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #d1d5db;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.nav-link:hover {
    background: rgba(200, 170, 90, 0.15);
    color: #e0c97a;
}
.nav-link.active {
    background: rgba(200, 170, 90, 0.25);
    color: #c8aa5a;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
    border: none;
}
.btn:hover { opacity: 0.85; }

.btn-gold    { background: #c8aa5a; color: #1a1a1a; }
.btn-green   { background: #1e4632; color: #fff; }
.btn-red     { background: #7f1d1d; color: #fca5a5; }
.btn-gray    { background: #374151; color: #d1d5db; }
.btn-sm      { padding: 0.3rem 0.75rem; font-size: 0.8rem; }

.card {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.table-auto th {
    background: #111827;
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    text-align: left;
}
.table-auto td {
    padding: 0.75rem 1rem;
    border-top: 1px solid #1f2937;
    font-size: 0.875rem;
    color: #d1d5db;
}
.table-auto tr:hover td {
    background: #1f2937;
}

.badge-active   { color: #4ade80; font-size: 0.8rem; }
.badge-disabled { color: #f87171; font-size: 0.8rem; }
.badge-unused   { color: #60a5fa; font-size: 0.8rem; }

input, select, textarea {
    background: #374151 !important;
    border: 1px solid #4b5563 !important;
    border-radius: 0.5rem;
    padding: 0.6rem 0.9rem;
    color: #f9fafb;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    transition: border-color 0.15s;
}
input:focus, select:focus {
    border-color: #c8aa5a !important;
    box-shadow: 0 0 0 2px rgba(200, 170, 90, 0.2);
}
label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.3rem;
}
