/* ==========================================================
   VEHICLE CATALOG PRO
   CONTRIBUIR.CSS
========================================================== */

:root{

    --background:#0B1220;
    --background2:#111827;

    --card:#182235;

    --border:#2F415E;

    --blue:#3B82F6;
    --green:#22C55E;
    --yellow:#FACC15;
    --red:#EF4444;

    --text:#F8FAFC;
    --text2:#94A3B8;

    --radius:18px;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:'Inter',sans-serif;

}

/* ==========================================================
HEADER
========================================================== */

.header{

    height:80px;

    background:var(--background2);

    border-bottom:1px solid var(--border);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 35px;

}

.logo{

    display:flex;

    align-items:center;

    gap:18px;

}

.logo-img{

    width:55px;

}

.logo h1{

    font-size:28px;

}

.logo span{

    color:var(--text2);

    font-size:13px;

}

.volver{

    text-decoration:none;

    color:white;

    background:var(--blue);

    padding:12px 20px;

    border-radius:10px;

    transition:.25s;

}

.volver:hover{

    background:#2563EB;

}

/* ==========================================================
CONTENEDOR
========================================================== */

.container{

    width:min(1200px,95%);

    margin:40px auto;

}

/* ==========================================================
INTRO
========================================================== */

.intro{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:18px;

    padding:25px;

    margin-bottom:30px;

}

.intro h2{

    margin-bottom:15px;

}

.intro p{

    color:var(--text2);

    line-height:1.6;

}

/* ==========================================================
FORMULARIO
========================================================== */

form{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:18px;

    padding:30px;

}

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

}

.grid input,
.grid select{

    width:100%;

    background:#111827;

    color:white;

    border:1px solid var(--border);

    border-radius:12px;

    padding:15px;

    font-size:15px;

}

.grid input:focus,
.grid select:focus,
textarea:focus{

    outline:none;

    border-color:var(--blue);

}

textarea{

    width:100%;

    min-height:120px;

    margin-top:20px;

    background:#111827;

    color:white;

    border:1px solid var(--border);

    border-radius:12px;

    padding:15px;

    resize:vertical;

    font-size:15px;

}

/* ==========================================================
BOTONES
========================================================== */

.buttons{

    display:flex;

    gap:20px;

    margin-top:30px;

}

.buttons button{

    flex:1;

    border:none;

    border-radius:12px;

    padding:16px;

    font-size:16px;

    color:white;

    cursor:pointer;

    transition:.25s;

}

#previewJSON{

    background:var(--yellow);

    color:#111;

}

#previewJSON:hover{

    background:#EAB308;

}

#sendProposal{

    background:var(--green);

}

#sendProposal:hover{

    background:#16A34A;

}

/* ==========================================================
INFO
========================================================== */

.info{

    margin-top:30px;

    display:flex;

    gap:20px;

    align-items:flex-start;

    background:#182235;

    border-left:5px solid var(--blue);

    border-radius:12px;

    padding:20px;

}

.info i{

    font-size:26px;

    color:var(--blue);

}

.info p{

    color:var(--text2);

    line-height:1.6;

}

/* ==========================================================
SCROLL
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:#2F415E;

    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#3B82F6;

}

/* ==========================================================
RESPONSIVE
========================================================== */

@media(max-width:900px){

.header{

    flex-direction:column;

    height:auto;

    gap:20px;

    padding:20px;

}

.buttons{

    flex-direction:column;

}

}

@media(max-width:700px){

.grid{

    grid-template-columns:1fr;

}

.logo h1{

    font-size:22px;

}

}