* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "Formula1 Display-Black", Roboto, sans-serif;
    min-height: 100vh;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

header {
    text-align: center;
    position: absolute;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
}

#logo {
    width: 280px;
}

#slogan {
    width: 500px;
}

#lista-parcial {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    min-height: 100vh;
    background-image: url('assets/images/fundo.jpg');
    background-size: cover;
    /* Scale the image to cover the area */
    background-position: center;
    /* Center the image within the container */
    background-repeat: no-repeat;
    /* Prevent the image from tiling */
    padding-top: 190px;
}


#lista-registros {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    grid-template-rows: repeat(5, 1fr);
    gap: 20px;

    margin-left: 80px;
    margin-right: 80px;
}

.registro-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    padding-top: 5px;
    padding-bottom: 10px;
    background: #f8f9fa;
    border-radius: 30px;
    /* border-left: 4px solid #667eea; */
    animation: slideIn 0.3s ease;

    -webkit-box-shadow: 1px 10px 27px -14px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 10px 27px -14px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 10px 27px -14px rgba(0, 0, 0, 0.75);

}


#lista-geral {
    margin-top: 30px;

    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;

    margin-left: 80px;
    margin-right: 80px;
}

#lista-geral h2 {
    color: #ee1d23;
    font-size: 4em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#lista-registros-gerais {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registro-item-gerais {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    padding-top: 5px;
    padding-bottom: 10px;
    background: #f8f9fa;
    border-radius: 30px;
    /* border-left: 4px solid #667eea; */
    animation: slideIn 0.3s ease;

    -webkit-box-shadow: 1px 10px 27px -14px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 10px 27px -14px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 10px 27px -14px rgba(0, 0, 0, 0.75);
}


.registro-info {
    flex: 1;
}

.registro-nome {
    font-weight: 600;
    color: #000;
    font-size: 2rem;
    margin-bottom: -5px;
}

.registro-tempo {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
    font-family: "Formula1 Display-Regular", Roboto, sans-serif;
}

.registro-posicao {
    /* background: #667eea; */
    /* color: white; */
    /* width: 50px; */
    /* height: 32px; */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 3rem;
    color: #000;
    margin-right: 15px;
}

.registro-acao {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    padding: 8px;
    opacity: 0.2;
    transition: opacity 0.2s;
    font-weight: 900;
}

.registro-acao:hover {
    opacity: 1;
}

.vazio {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}


.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.6rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.container-option .container-option-title {
    margin-bottom: 10px;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff0003 0%, #6c1d20 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #ee5a5a;
}


/* Base custom radio style */
input[type="radio"] {
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  display: grid;
  place-content: center;
}

/* Inner dot for the checked state */
input[type="radio"]::before {
  content: "";
  width: 1em;
  height: 1em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color, #000);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}



#configuracoes {
    z-index: 900;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    /* text-align: left;
    background-color: #ffffff5e;
    transition: right .5s;
    box-shadow: -.15rem 0 1.75rem 0 rgba(34, 39, 46, .15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
}

#configuracoes .opcao {
    /* position: absolute; */
    /* top: 4.625rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* left: -3rem; */
    width: 3rem;
    height: 3rem;
    border-top-left-radius: .35rem;
    border-bottom-left-radius: .35rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 0;
    box-shadow: 0 .15rem 1.75rem 0 rgba(34, 39, 46, .15);
    color: #001500;
    background-color: #ffffff5e;

    cursor: pointer;
}

#configuracoes .opcao svg {
    display: inline-block;
    font-size: inherit;
    height: 1.6em;
    overflow: visible;
    vertical-align: -0.125em;
}


/* Estilos para o modal de cadastro */

#container-form {
    display: none;
    z-index: 9999;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0000005e;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-content: center;
}


#container-form #registro-form {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

    max-width: 400px;
    margin: 0 auto;
    margin-top: 10px;
}

#container-form #registro-form h2 {
    margin-bottom: 20px;
}

#fechar-form-btn {
    width: 25px;
    background: none;
    border: none;
}

#acoes-form {
    display: flex;
    justify-content: end;
}


/* Estilos para o modal de cadastro */

#container-configuracoes {
    display: none;
    z-index: 9999;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0000005e;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-content: center;
}

#container-configuracoes #registro-configuracoes {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

    max-width: 400px;
    margin: 0 auto;
    margin-top: 10px;
}

#container-configuracoes #registro-configuracoes h2 {
    margin-bottom: 20px;
}

#container-configuracoes #registro-configuracoes .radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
}



#fechar-configuracoes-btn {
    width: 25px;
    background: none;
    border: none;
}

#acoes-configuracoes {
    display: flex;
    justify-content: end;
}


/* Animação para mostrar o modal */

.containerMostrar {
    display: block !important;
}

.containerMostrar > form {
    animation: 0.5s popupCadastroAnimation;
}


@keyframes popupCadastroAnimation {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}