/* ==========================================
   PARKPIN v1.0
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#2563EB;
    --primary-dark:#1D4ED8;
    --background:#F3F6FB;
    --card:#FFFFFF;
    --text:#111827;
    --text-light:#6B7280;
    --border:#E5E7EB;
    --success:#16A34A;
    --danger:#DC2626;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--background);

    color:var(--text);

    min-height:100vh;

    display:flex;

    justify-content:center;

}

.container{

    width:100%;

   max-width:560px;

    margin:auto;

    padding:25px;

}

header{

    text-align:center;

    margin-bottom:30px;

}

.logo{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:15px;

}

.logo img{

    width:90px;

    height:auto;

}

header h1{

    font-size:38px;

    color:var(--primary);

    font-weight:700;

}

header p{

    color:var(--text-light);

    margin-top:8px;

    font-size:16px;

}

.card{

    background:var(--card);

    border-radius:24px;

    padding:35px;

    box-shadow:

0 20px 60px rgba(37,99,235,.12);

    border:1px solid rgba(0,0,0,.03);

    overflow:hidden;

}

.loading{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:18px;

    min-height:320px;

}

.spinner{

    width:70px;

    height:70px;

    border:6px solid #E5E7EB;

    border-top-color:#3B82F6;

    border-top-width:6px;

    border-top-style:solid;

    border-radius:50%;

    animation:girar 1s linear infinite;

}

.loading h2{

    font-size:24px;

}

.loading p{

    color:var(--text-light);

}

.local{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.bloco{

    display:flex;

    align-items:center;

    gap:18px;

    background:#F9FAFB;

    border:1px solid var(--border);

    border-radius:18px;

    padding:20px;

}

.icone{

    width:70px;

    height:70px;

    background:var(--primary);

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:30px;

    flex-shrink:0;

}

.info{

    flex:1;

}

.info span{

    display:block;

    color:var(--text-light);

    font-size:14px;

    margin-bottom:5px;

}

.info strong{

    display:block;

    font-size:32px;

    color:var(--text);

    font-weight:700;

}

.data{

    margin-top:10px;

    background:#EFF6FF;

    border:1px solid #BFDBFE;

    border-radius:18px;

    padding:20px;

    text-align:center;

    color:var(--primary-dark);

    font-size:15px;

    font-weight:600;

    line-height:1.8;

}

small{

    color:var(--text-light);

}

footer{

    margin-top:30px;

    text-align:center;

    padding-bottom:30px;

}

.erro{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:20px;

    min-height:260px;

    text-align:center;

}

.erro h2{

    font-size:30px;

    color:var(--danger);

}

.erro p{

    color:var(--text-light);

    line-height:1.7;

}

.erro .icone{

    background:var(--danger);

}

.sucesso .icone{

    background:var(--success);

}

.card:hover{

    transform:translateY(-3px);

    transition:
    all .25s ease;

}

.bloco:hover{

    background:#F3F4F6;

    transition:
    all .25s ease;

}

.logo img{

    transition:
    all .25s ease;

}

.logo img:hover{

    transform:scale(1.05);

}

button{

    border:none;

    outline:none;

    cursor:pointer;

    font-family:'Poppins',sans-serif;

}

a{

    color:inherit;

    text-decoration:none;

}

img{

    max-width:100%;

    display:block;

}

.hidden{

    display:none;

}

.center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.text-center{

    text-align:center;

}

.mt-10{

    margin-top:10px;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-10{

    margin-bottom:10px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.w100{

    width:100%;

}

.radius{

    border-radius:20px;

}

/* ==========================================
   RESPONSIVO
========================================== */

@media(max-width:768px){

    .container{

        padding:20px;

    }

    header h1{

        font-size:34px;

    }

    .card{

        padding:28px;

    }

    .info strong{

        font-size:28px;

    }

}

@media(max-width:480px){

    .container{

        padding:15px;

    }

    header{

        margin-bottom:25px;

    }

    .logo img{

        width:75px;

    }

    header h1{

        font-size:30px;

    }

    header p{

        font-size:15px;

    }

    .card{

        border-radius:20px;

        padding:22px;

    }

    .bloco{

        padding:16px;

        gap:15px;

    }

    .icone{

        width:60px;

        height:60px;

        font-size:26px;

        border-radius:15px;

    }

    .info span{

        font-size:13px;

    }

    .info strong{

        font-size:24px;

    }

    .loading{

        min-height:250px;

    }

    .loading h2{

        font-size:22px;

    }

    .loading p{

        font-size:14px;

    }

    .data{

        font-size:14px;

        line-height:1.6;

    }

}

@media(max-width:360px){

    header h1{

        font-size:26px;

    }

    .info strong{

        font-size:20px;

    }

    .icone{

        width:55px;

        height:55px;

        font-size:22px;

    }

}

/* ==========================================
   ANIMAÇÕES
========================================== */

@keyframes girar{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

@keyframes aparecer{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.card{

    animation:aparecer .4s ease;

}

.local{

    animation:aparecer .35s ease;

}

.erro{

    animation:aparecer .35s ease;

}

/* ==========================================
   SELEÇÃO
========================================== */

::selection{

    background:var(--primary);

    color:white;

}

/* ==========================================
   SCROLL
========================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#E5E7EB;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-dark);

}

/* ==========================================
   FIM DO ARQUIVO
========================================== */