* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    background-color: #e9e9e9;
}

/* HEADER */
.header {
    background-color: #561A1A;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    color: white;
}

.header .menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

/* CONTAINER */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 160px);
}

.container-table {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 160px);
}

/* LOGO */


.logo:hover {
    opacity: 0.9;
    cursor: pointer;
}


/* CARD */
.login-card {
    background-color: #ded6d6;
    width: 2000px;
    height: 500px;
    padding: 50px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
}

.login-card h1 {
    font-size: 48px;
    margin-bottom: 40px;
    letter-spacing: 4px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    font-size: 12px;
    color: #561A1A;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #aaa;
    margin-top: 5px;
}

button {
    background-color: #561A1A;
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    opacity: 0.9;
}

/* MAIN */

nav a {

    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 500;

}

nav a:hover {
    opacity: 0.8;
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;     /* Centraliza verticalmente */
    background-color: #561A1A;
    height: 80px;
}

.footer p {
    color: white;
}

/* SELECT */

select, textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #aaa;
    margin-top: 5px;
}

/* FLEX */

.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.space-between {
    justify-content: space-between;
}

.space-around {
    justify-content: space-around;
}


/* BOTÕES */

.btn-create {
    background-color: #561A1A;
}

/* NAVBAR */

.menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #561A1A;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #ffffff;
    margin-left: 0;
}

.dropdown-content a:hover {
    background: #ca4343;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Submenu */

.dropdown-sub {
    position: relative;
}

.dropdown-sub-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #ffffff;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 6px;
}

.dropdown-sub:hover .dropdown-sub-content {
    display: block;
}

.dropdown-sub-content a {
    padding: 10px;
    display: block;
    color: #333;
}

.dropdown-sub-content a:hover {
    background: #f2f2f2;
}

/* RESPONSIVO */

/* ===== NAVBAR BASE ===== */

.navbar {
    background: #561A1A;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
}

/* Botão hambúrguer escondido no desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {

    .menu {
        display: none;
        flex-direction: column;
        background: #561A1A;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 15px;
        border-radius: 8px;
    }

    .menu a {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .menu-toggle {
        display: block;
    }

}

table {
    width: 100%;
    overflow-x: auto;
    display: block;
}
