body {
    color: #444;
    display: flex;
    height: 96vh;
    background-color: #e5d7bd;
}

#app {
    width: 70%;
    margin: auto;
    box-shadow: 4px 4px 20px #888;
    padding: 20px;
    border-radius: 20px;
    background-color: #edcb94;
}

#homePage {
    width: 80%;
    margin: auto;
    box-shadow: 4px 4px 20px #888;
    padding: 20px;
    border-radius: 20px;
    background-color: #ecd1a2;
}

#imgLogin {
    width: 70%;
    height: auto;
    border-radius: 20px;
}

#logoGoogle {
    width: 10%;
    border-radius: 100%;
    margin-top: 5px;
}

#auth {
    display: block;
    text-align: center;
}

.center {
    text-align: center;
}

.startHidden {
    display: none;
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: #15140e;
    margin: 0;
    font-size: 2vw;
}

h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #15140e;
    margin: 4px;
    font-size: 3vw;
}

h4 {
    font-family: 'Anton', sans-serif;
    color: #15140e;
    margin: 4px;
    font-size: 1.2vw;
}

hr {
    border: 0;
    height: 1px;
    background-color: #000000;
    margin: 10px 0;
}

input {
    width: 80%;
    margin: 4px;
    padding: 8px;
    font-size: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px #151515;
    outline-color: #000000;
    background-color: #e5d7bd;
}

button {
    width: 16vw;
    background-color: #f29c2c;
    font-size: 1.4vw;
    font-family: 'Anton', sans-serif;
    color: white;
    padding: 0.7vw 1vw;
    margin: 1vw;
    border-radius: 8px;
    border: none;
    outline: none;
    box-sizing: border-box;
}

button:hover {
    opacity: 0.8;
    cursor: pointer;
}

p {
    font-family: 'Anton', sans-serif;
    color: #151515;
    font-size: 1vw;
    margin: 0;
}

.alternative {
    background-color: #f29c2c;
}

.danger {
    background-color: red;
}

#loading {
    position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    z-index: 1;
}

#auth img {
    cursor: pointer;
    margin: 4px;

}

#auth img:hover {
    opacity: 0.75;
    cursor: pointer;
}

#userImg {
    width: 10%;
    border-radius: 100%;
}

/* Estilo do rodapé */
#mainFooter {
    background-color: #e5d7bd;
    /* cor de fundo */
    padding: 20px 0;
    /* espaço interno */
    text-align: center;
    /* centraliza texto */
    position: relative;
    border-radius: 10px;
    bottom: 0;
    width: 100%;
}

#mainFooter .footer-content p {
    margin: 5px 0;
    color: #15140e;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1vw;
}

#mainFooter .footer-content h3 {
    margin: 10px 100px;
    color: #15140e;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3vw;
}

#mainFooter .footer-links a {
    color: #6c4b18;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.2vw;
    font-family: 'Anton', sans-serif;
}

#mainFooter .footer-links a:hover {
    color: #f0a500;
    /* muda cor ao passar mouse */
}

#imgColtec {
    width: 7%;
    height: auto;
    border-radius: 20px;
    margin-top: 5px;
    margin-right: 5px;
}

/* Home Page */
#imgHP {
    width: 50%;
    height: auto;
    border-radius: 20px;
}

/* Tab Bar Styles */
.tab-bar {
    height: 20%;
    background-color: #15140e;
    border-radius: 10px;
    overflow: hidden;
}

.tab-bar button {
    background-color: inherit;
    color: #f29c2c;
    border: none;
    outline: none;
    padding: 14px 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1.4vw;
    font-family: 'Bebas Neue', sans-serif;
}

.tab-bar button:hover {
    background-color: #edcb94;
}

.tab-bar button.active {
    color: #15140e;
    background-color: #edcb94;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/*forms de eventos*/
label {
    font-family: 'Bebas Neue', sans-serif;
    color: #15140e;
    font-size: 2vw;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="file"] {
    width: 80%;
    margin: 4px;
    padding: 8px;
    font-size: 1.5vw;
    font-family: 'Anton', sans-serif;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px #151515;
    outline-color: #000000;
    background-color: #e5d7bd;
}

select {
    width: 25%;
    margin: 4px;
    padding: 8px;
    font-size: 1.5vw;
    font-family: 'Anton', sans-serif;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px #151515;
    outline-color: #000000;
    background-color: #e5d7bd;
}

textarea {
    width: 80%;
    margin: 4px;
    padding: 8px;
    font-size: 1.5vw;
    font-family: 'Anton', sans-serif;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px #151515;
    outline-color: #000000;
    background-color: #e5d7bd;
}

#eventContainer .event-card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: #e5d7bd;
    box-shadow: 2px 2px 10px #151515;
    transition: box-shadow 0.2s;
    margin-top: 10px;
}

#eventContainer .event-card:hover {
    box-shadow: 4px 4px 20px #888;
    background-color: #edcb94;
}

/* botões de eventos */
#submitEventForm {
    margin: 1vw auto;
    display: flex;
}

#editEventForm {
    margin: 1vw auto;
    display: flex;
}

/* Estilos para a galeria de fotos */
.photo-card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: #e5d7bd;
    box-shadow: 2px 2px 10px #151515;
    transition: box-shadow 0.2s;
    margin-top: 10px;
}

.photo-card:hover {
    box-shadow: 4px 4px 20px #888;
    background-color: #edcb94;
}

.event-photo-links a {
    margin-right: 8px;
    color: #e56f15;
    text-decoration: none;
}

.event-photo-links a:hover {
    text-decoration: underline;
}

#createPhoto {
    display: block;
    margin: 10px auto;
    /* centraliza horizontalmente */
}


/* Estilos para o gerenciador de usuários */
.user-card {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: #e5d7bd;
    box-shadow: 2px 2px 10px #151515;
    transition: box-shadow 0.2s;
    margin-top: 10px;
    font-family: 'Anton', sans-serif;
    color: black
}

.user-card .user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.user-card .user-row span {
    font-weight: bold;
}

.user-card .user-row button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.user-card .user-row button.primary {
    background-color: #f29c2c;
    color: white;
}

.user-card .user-row button.danger {
    background-color: #f44336;
    color: white;
}

.user-card p {
    font-family: 'Anton', sans-serif;
    color: #151515;
    font-size: 1vw;
    margin: 0;
}

/* Estilos para a seção de regras de bloqueio */
#regrasBloqueio {
    margin: 20px auto;
    max-width: 700px;
    text-align: left;
}

.regra-card {
    background: #e5d7bd;
    border-left: 5px solid #f44336;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
}

.regra-card h4 {
    margin: 0 0 6px 0;
    color: #f44336;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5vw;
}

.regra-card p {
    margin: 0;
    font-family: 'Anton', sans-serif;
    color: #151515;
    font-size: 1vw;
}

#blockUser {
    display: block;
    margin: 10px auto;
    /* centraliza horizontalmente */
}

/* Estilos para instruções gerais */
#instrucoesGerais {
    margin: 20px auto;
    max-width: 700px;
    text-align: left;
}

.instrucao-card {
    border: 1px solid #ccc;
    border-left: 5px solid #f29c2c;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    background-color: #e5d7bd;
    box-shadow: 2px 2px 10px #151515;
    transition: box-shadow 0.2s;
    margin-top: 10px;
}

.alerta-card {
    border-left: 5px solid #f44336;
}  

.alerta-card h4 {
    color: #f44336 !important;
}

.instrucao-card h4 {
    margin: 0 0 6px 0;
    color: #f29c2c;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8vw;
}

.instrucao-card ul {
    margin: 0;
    font-family: 'Anton', sans-serif;
    color: #151515;
    font-size: 1vw;
}

/* fator K*/
.h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: #15140e;
    margin: 4px;
    font-size: 2vw;
}

.user-pos {
    font-weight: bold;
    margin-right: 8px;
    color: #555;
}

.presenca-btn {
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.presenca-btn.ausente {
    background-color: #f44336;
    color: white;
}

.presenca-btn.presente {
    background-color: #4CAF50;
    color: white;
}
