/* =====================================
   BBROSE SKIN ADVISOR
   PREMIUM MOBILE DESIGN
===================================== */


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');



:root{


--bg:#f7f3eb;

--card:#fffdf9;

--black:#171717;

--gold:#b58a3a;

--gold-soft:#ead8b0;

--text-soft:#777;

--border:#ece3d5;


}





*{


margin:0;

padding:0;

box-sizing:border-box;


}





body{


font-family:'Poppins',sans-serif;

background:var(--bg);

color:var(--black);

min-height:100vh;


}







.app-container{


width:100%;

min-height:100vh;

display:flex;

align-items:center;

justify-content:center;

padding:20px;


}








.card{


display:none;


width:100%;

max-width:430px;


min-height:760px;


background:var(--card);


border-radius:38px;


padding:45px 30px;


box-shadow:

0 25px 70px rgba(0,0,0,.08);


flex-direction:column;



}




.card.active{


display:flex;


}









/* LOGO */


.logo{


width:145px;

height:auto;

object-fit:contain;

margin-bottom:75px;


}




.logo.small{


width:120px;

margin-bottom:40px;


}









/* TEXTOS */


.tag{


font-size:11px;

font-weight:700;

letter-spacing:3px;

color:var(--gold);

margin-bottom:18px;


}





h1{


font-size:40px;

line-height:1.05;

letter-spacing:-1px;

font-weight:800;

margin-bottom:22px;


}





h2{


font-size:28px;

line-height:1.2;

font-weight:700;

margin-bottom:30px;


}





.text,
.description{


font-size:15px;

line-height:1.7;

font-weight:300;

color:var(--text-soft);

margin-bottom:40px;


}









/* PASOS */


.steps{


margin-bottom:35px;


}



.steps div{


display:flex;

align-items:center;

gap:18px;


padding:18px 0;


border-bottom:1px solid var(--border);


}





.steps span{


font-size:12px;

font-weight:700;

color:var(--gold);


}





.steps p{


font-size:15px;

font-weight:500;


}








/* BOTONES */


button{


width:100%;

border:none;

border-radius:18px;


padding:20px 18px;


background:var(--black);


color:white;


font-family:'Poppins',sans-serif;


font-size:15px;


font-weight:600;


cursor:pointer;


margin-top:15px;


transition:.25s;


}





button:hover{


transform:translateY(-2px);


}





button span{


display:block;


font-size:12px;

font-weight:300;


opacity:.7;


margin-top:5px;


}




.secondary{


background:white;


color:var(--black);


border:1px solid var(--border);


}









/* CAMARA */


.camera-box{


position:relative;


width:100%;


height:470px;


background:#111;


border-radius:30px;


overflow:hidden;


margin-bottom:20px;


}





video{


width:100%;

height:100%;


object-fit:cover;


}





.circle{


position:absolute;


top:50%;

left:50%;


transform:translate(-50%,-50%);


width:230px;


height:300px;


border:2px solid rgba(255,255,255,.8);


border-radius:50%;


}







#status{


text-align:center;


font-size:13px;


color:var(--text-soft);


margin-top:15px;


}









/* MANUAL */


#manual button{


background:white;


color:var(--black);


border:1px solid var(--border);


}








/* RESULTADO */


.result-box{


background:white;


border-radius:25px;


padding:25px;


margin-top:20px;


border:1px solid var(--border);


}





.result-box h3{


font-size:24px;

color:var(--gold);


margin-bottom:10px;


}





.result-box p{


font-size:14px;


line-height:1.6;


color:var(--text-soft);


}






#restart{


margin-top:auto;


}








/* RESPONSIVE */


@media(max-width:430px){



.app-container{


padding:0;


}



.card{


min-height:100vh;


border-radius:0;


padding:45px 25px;


box-shadow:none;


}





.logo{


margin-bottom:65px;


}





h1{


font-size:34px;


}




h2{


font-size:25px;


}





.camera-box{


height:430px;


}



}





@media(min-width:700px){



.card{


min-height:820px;


}



}