
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #F5F7FB;
    color: #263248;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 35px 24px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.banner img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.conteudo {
    width: 100%;
    text-align: center;
}

.conteudo h1 {
    font-size: 25px;
    line-height: 1.35;
    font-weight: 700;
    color: #263248;
    margin-bottom: 14px;
}

.conteudo > p {
    font-size: 16px;
    line-height: 1.6;
    color: #687386;
    margin-bottom: 30px;
}

.botoes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.botao {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: opacity 0.2s;
}

.botao:active {
    opacity: 0.8;
}

.botao-entrar {
    background: #3157D5;
    color: #FFFFFF;
}

.botao-cadastro {
    background: #FFFFFF;
    color: #3157D5;
    border: 1px solid #3157D5;
}

.rodape {
    margin-top: 35px;
    font-size: 14px;
    color: #929BAB;
}


/* TELA DE LOGIN */

.login {
    text-align: left;
}

.login h1 {
    text-align: center;
    margin-bottom: 28px;
}

.campo {
    width: 100%;
    margin-bottom: 18px;
}

.campo label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #263248;
}

.campo input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #DCE1EC;
    border-radius: 12px;
    background: #FFFFFF;
    font-size: 16px;
    outline: none;
}

.campo input:focus {
    border-color: #3157D5;
}

.senha-container {
    position: relative;
    display: flex;
    align-items: center;
}

.senha-container input {
    padding-right: 85px;
}

.mostrar-senha {
    position: absolute;
    right: 12px;
    border: none;
    background: transparent;
    color: #3157D5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.esqueci-senha {
    text-align: right;
    margin-top: -5px;
    margin-bottom: 22px;
}

.esqueci-senha a {
    color: #3157D5;
    font-size: 14px;
    text-decoration: none;
}

.login .botao {
    margin-bottom: 14px;
    cursor: pointer;
}

.botao-voltar {
    background: transparent;
    color: #3157D5;
    border: 1px solid #DCE1EC;
}

.mensagem-erro {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #FDECEC;
    color: #B42318;
    font-size: 14px;
    text-align: center;
}


/* TOPO DA AGENDA */

.topo-agenda {
    width: 100%;
    margin: 0 auto 10px;
}

.topo-agenda img {
    display: block;
    width: 100%;
    height: auto;
}


/* ANÚNCIO GOOGLE ADSENSE 320x100 */

.anuncio-adsense100 {
    display: block;
    width: 320px;
    max-width: 100%;
    height: 100px;
    margin: 35px;
    text-align: center;
    overflow: hidden;
}

.anuncio-adsense100 ins.adsbygoogle {
    display: inline-block !important;
    width: 320px !important;
    height: 100px !important;
    max-width: 320px !important;
    max-height: 100px !important;
    overflow: hidden !important;
}

.anuncio-adsense100 ins.adsbygoogle iframe {
    max-width: 320px !important;
    max-height: 100px !important;
}


/* MINHA AGENDA */

.lista-agenda {
    margin-top: 20px;
}

.corrida-agenda {
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.corrida-agenda h3 {
    margin: 0 0 10px;
    color: #3157D5;
}

.corrida-agenda p {
    margin: 5px 0;
}

.botao-remover {
    margin-top: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    background: #dc3545;
    color: #fff;
    cursor: pointer;
}

.sem-corridas {
    padding: 20px;
    text-align: center;
}


/* BANNER SUPERIOR - CELULAR */

.topo-publicidade-mobile {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
}

.topo-publicidade-mobile img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}


/* NAVEGAÇÃO DA PÁGINA MINHA AGENDA */

.botoes-agenda {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: 15px auto 20px;
}

.botoes-agenda a {
    flex: 1;
    display: block;
    padding: 11px 8px;
    border-radius: 6px;
    background: #3157D5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    box-sizing: border-box;
}

.corrida-agenda .dados-corrida {
    margin: 0 0 10px;
    color: #263248;
}


/* PROCURA CORRIDA */

.form-procura-corrida {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 18px 0 12px;
}

.form-procura-corrida input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    border: 1px solid #DCE1EC;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 15px;
}

.form-procura-corrida input:focus {
    outline: none;
    border-color: #3157D5;
}

.form-procura-corrida button,
.botao-adicionar-agenda {
    border: 0;
    border-radius: 7px;
    background: #3157D5;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.form-procura-corrida button {
    padding: 0 14px;
    white-space: nowrap;
}

.resultado-procura,
.instrucao-procura {
    margin: 12px 0;
    color: #687386;
    font-size: 14px;
    line-height: 1.5;
}

.resultado-corrida {
    text-align: left;
}

.resultado-corrida .distancia-corrida {
    margin: 4px 0 10px;
    color: #687386;
    font-size: 14px;
}

.form-adicionar-corrida {
    margin-top: 10px;
}

.botao-adicionar-agenda {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
}

.corrida-ja-agendada {
    display: inline-block;
    margin-top: 10px;
    color: #238044;
    font-size: 14px;
    font-weight: 600;
}

.mensagem-procura {
    margin: 12px 0;
    padding: 10px;
    border-radius: 7px;
    background: #E8F5EC;
    color: #216E39;
    font-size: 14px;
}


/* ==========================================
   DETALHES DA CORRIDA
========================================== */

.detalhe-corrida {
    width: 100%;
    max-width: 420px;
    margin: 15px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Título centralizado */

.cabecalho-detalhe {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 20px;
}

.cabecalho-detalhe h1 {
    width: 100%;
    font-size: 21px;
    line-height: 1.4;
    color: #263248;
    text-align: center;
    margin: 0;
}


/* Área dos dados e dos ícones */

.dados-detalhe-com-agenda {
    width: 100%;
}

.dados-superiores {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.dados-superiores .dados-detalhe {
    flex: 1;
    min-width: 0;
}

.dados-detalhe {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* Campos dos dados da corrida */

.item-detalhe {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
    line-height: 1.4;
    color: #263248;
}

.item-detalhe strong {
    color: #3157D5;
    font-weight: 700;
}

.item-detalhe span {
    color: #263248;
    font-weight: 400;
}


/* Local de largada e organizador */

.dados-inferiores {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}


/* ÍCONES DAS AGENDAS */

.atalhos-agenda {
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding-top: 5px;
}

.atalhos-agenda form {
    margin: 0;
    padding: 0;
}

.icone-adicionar-agenda {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
}

.icone-mais {
    font-size: 38px;
    line-height: 40px;
    color: #198754;
}

.icone-google-agenda {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0 auto;
}

.icone-adicionar-agenda small {
    font-size: 11px;
    line-height: 14px;
    color: #263248;
}



/* LINKS DE INFORMAÇÕES E INSCRIÇÕES */

.links-corrida {
    margin-top: 25px;
}

.link-corrida {
    display: block;
    padding: 13px;
    margin-bottom: 10px;
    background: #3157D5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
}

.links-duplos {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/* AJUSTES PARA TELAS PEQUENAS */

@media (max-width: 360px) {
    .detalhe-corrida {
        padding: 12px;
    }

    .dados-superiores {
        gap: 4px;
    }

.atalhos-agenda {
    flex-basis: 78px;
}

    .icone-adicionar-agenda {
        width: 78px;
    }

    .item-detalhe {
        font-size: 14px;
    }
}

.corrida-ja-agendada-icone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #198754;
}

.corrida-ja-agendada-icone .icone-mais {
    color: #198754;
}
