:root {
    --umsnh-red: #C41230;
    --umsnh-dark: #8B0D22;
    --umsnh-light: #F8E8EB;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.navbar {
    background-color: var(--umsnh-red) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

.hero {
    background: linear-gradient(135deg, var(--umsnh-dark) 0%, var(--umsnh-red) 100%);
    color: white;
    padding: 80px 0;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.card-diploma {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.card-diploma:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(196, 18, 48, 0.15);
}

.card-diploma .card-header {
    background-color: var(--umsnh-red);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 20px;
}

.card-diploma .card-body {
    padding: 20px;
}

.badge-info {
    background-color: var(--umsnh-light);
    color: var(--umsnh-dark);
    font-weight: 500;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-ver {
    background-color: var(--umsnh-red);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-ver:hover {
    background-color: var(--umsnh-dark);
    color: white;
}

.modal-header {
    background-color: var(--umsnh-red);
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.section-title {
    color: var(--umsnh-dark);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--umsnh-red);
    border-radius: 2px;
}

.footer {
    background-color: var(--umsnh-dark);
    color: white;
}

.search-box {
    border-radius: 25px;
    padding: 12px 25px;
    border: 2px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-box:focus {
    border-color: var(--umsnh-red);
    box-shadow: 0 0 0 0.2rem rgba(196, 18, 48, 0.15);
}

.contador {
    background-color: var(--umsnh-red);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.modulo-item {
    background-color: #f8f9fa;
    border-left: 4px solid var(--umsnh-red);
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
}

.modulo-item:last-child {
    margin-bottom: 0;
}
