:root {
    --primary-color: #2a6e3f;
    --secondary-color: #3d8e55;
    --background-color: #f4f7f6;
    --card-background: #ffffff;
    --text-color: #333;
    --heading-color: #000000;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

body {
    position: relative;
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: url('/assets/imgs/imageLogin.jpg') no-repeat center center fixed;
    background-size: cover;
    padding: 0;
    z-index: 1;
    /* Garante que o conteúdo do body fique acima do pseudo-elemento */
}

.main-content {
    margin-top: 7%;
    margin-bottom: 5%;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.btn {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.logo {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    margin: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    background-color: #3d8e55;
}

.search-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

#searchInput {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 110, 63, 0.2);
}

.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    header {
        display: none;
    }

    .main-content {
        margin-top: 5%;
        margin-bottom: 15%;
    }

    .bottom-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        width: 100%;
        bottom: 0;
        border-top: 1px solid #e7e7e7;
        z-index: 1000;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .bottom-nav:hover {
        background-color: var(--secondary-color);
    }

    .bottom-nav a {
        padding: 20px;
        width: 100%;
        color: #fff;
        text-decoration: none;
        text-align: center;
        font-size: 14px;
    }
}

.toggle-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-link:hover {
    color: var(--secondary-color);
}

#searchField {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

#searchField:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(42, 110, 63, 0.2);
}