/* UI Polish Patch - Glassmorphism & Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4F6F52; /* Verde Sofisticado */
    --primary-hover: #3A5A40;
    --accent-color: #F2E3DB;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body {
    font-family: 'Inter', sans-serif;
    background: #f3f4f6; /* Cinza muito suave */
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,0) 0, hsla(253,16%,7%,0) 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0) 0, hsla(225,39%,30%,0) 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0) 0, hsla(339,49%,30%,0) 50%);
}

/* Glassmorphism Cards */
.bg-white, .card {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: var(--shadow-soft) !important;
}

/* Sidebar Modernization */
.sidebar {
    background: #111827; /* Dark Gray */
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar a {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px 8px;
}

.sidebar a:hover, .sidebar a.active {
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
}

/* Table Styling */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

th {
    background: rgba(249, 250, 251, 0.8) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

td {
    padding: 16px 24px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    font-size: 0.875rem;
}

tr:hover td {
    background-color: rgba(243, 244, 246, 0.5);
}

/* Button Polish */
.btn-primary {
    background-color: var(--primary-color) !important;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(79, 111, 82, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(79, 111, 82, 0.3);
}

/* Form Inputs */
input, select, textarea {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 0.875rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(79, 111, 82, 0.1) !important;
    outline: none;
}

/* Badges */
.badge {
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
