:root {
    --unfv-maroon: #7f1d1d;
    --unfv-maroon-dark: #5a1414;
    --unfv-maroon-light: #fef2f2;
    --unfv-blue: #1e3a8a;
    --unfv-blue-light: #eff6ff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --bg-global: #f1f5f9;
    --white: #ffffff;
    --accent-green: #059669;
    --accent-green-hover: #047857;
    --accent-amber: #d97706;
    --accent-red: #dc2626;
    --accent-purple: #7c3aed;
    --accent-cyan: #0891b2;
    --font-family: 'Montserrat', sans-serif;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 12px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-global);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.main-header .branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-header .logo-img {
    height: 46px;
    width: auto;
}

.main-header .titulo h1 {
    font-size: 1.1rem;
    color: var(--unfv-maroon);
    font-weight: 700;
    line-height: 1.2;
}

.main-header .titulo h1 span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    gap: 6px;
    align-items: center;
    list-style: none;
}

.main-nav ul li a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.main-nav ul li a:hover {
    background-color: var(--unfv-maroon-light);
    color: var(--unfv-maroon);
}

.main-nav ul li a.active {
    background-color: var(--unfv-maroon-light);
    color: var(--unfv-maroon);
}

.main-nav ul li a svg {
    width: 18px;
    height: 18px;
}

.nav-btn {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: var(--unfv-maroon-light);
    color: var(--unfv-maroon);
}

.btn-highlight {
    background-color: var(--unfv-maroon);
    color: var(--white) !important;
}

.btn-highlight:hover {
    background-color: var(--unfv-maroon-dark);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--unfv-maroon-light);
    padding: 5px 12px 5px 5px;
    border-radius: 50px;
    margin-left: 12px;
    border: 1px solid rgba(127, 29, 29, 0.1);
}

.user-badge .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--unfv-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
}

.user-badge .user-name {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.8rem;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    flex: 1;
    width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--unfv-maroon);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(127, 29, 29, 0.2);
}

.btn-primary:hover {
    background-color: var(--unfv-maroon-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #cbd5e1;
}

.btn-outline {
    background-color: transparent;
    color: var(--unfv-maroon);
    border: 2px solid var(--unfv-maroon);
}

.btn-outline:hover {
    background-color: var(--unfv-maroon-light);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.green { background-color: #ecfdf5; color: var(--accent-green); }
.stat-icon.blue { background-color: var(--unfv-blue-light); color: var(--unfv-blue); }
.stat-icon.amber { background-color: #fffbeb; color: var(--accent-amber); }
.stat-icon.purple { background-color: #f5f3ff; color: var(--accent-purple); }
.stat-icon.red { background-color: #fef2f2; color: var(--accent-red); }
.stat-icon.cyan { background-color: #ecfeff; color: var(--accent-cyan); }

.stat-info { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--text-main); line-height: 1; letter-spacing: -0.5px; }
.stat-label { font-size: 0.8rem; color: var(--text-light); font-weight: 600; margin-top: 2px; }

.section-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 24px;
}

.section-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.section-card-header h3 svg {
    width: 20px;
    height: 20px;
    color: var(--unfv-maroon);
}

.section-card-body {
    padding: 20px 24px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto;
}

.item-list {
    display: flex;
    flex-direction: column;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

.item-row:last-child { border-bottom: none; }

.item-row:hover {
    background-color: #f8fafc;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #f1f5f9;
    color: var(--text-muted);
}

.item-icon svg { width: 20px; height: 20px; }

.item-content { flex: 1; min-width: 0; }
.item-title { font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.item-subtitle { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

.item-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.status-pending { background-color: #fffbeb; color: var(--accent-amber); }
.status-active { background-color: #ecfdf5; color: var(--accent-green); }
.status-review { background-color: var(--unfv-blue-light); color: var(--unfv-blue); }
.status-completed { background-color: #f0fdf4; color: #16a34a; }
.status-rejected { background-color: #fef2f2; color: var(--accent-red); }

.item-action {
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.item-action svg { width: 18px; height: 18px; }
.item-row:hover .item-action { color: var(--unfv-maroon); }

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 14px 20px;
        gap: 12px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .main-container {
        padding: 20px 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

body {
    overflow-x: hidden;
}

.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 25px 0;
    border-top: 4px solid var(--unfv-maroon);
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 2px;
    background-color: var(--unfv-maroon);
}

.col-brand h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.col-brand .faculty-name {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.col-brand .footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-col ul li a svg {
    width: 14px;
    height: 14px;
    color: var(--unfv-maroon);
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.contact-info p svg {
    width: 16px;
    height: 16px;
    color: var(--unfv-maroon);
    flex-shrink: 0;
}

.contact-info p a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info p a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}
