/*
==================================================
Red Técnica
DEMO-001

Archivo:
style.css

Responsabilidad:
Definir la identidad visual oficial
de la demostración operativa.

No implementa lógica de negocio.

Versión:
1.1
==================================================
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    color:#0b2d4d;

    background:
        linear-gradient(
            rgba(9,32,54,.45),
            rgba(9,32,54,.45)
        ),
        url("../assets/fondo.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

/*
==================================================
HF-012
Identidad visual por rol
==================================================
*/

body.panel-cliente{

    background:
        linear-gradient(
            rgba(9,32,54,.45),
            rgba(9,32,54,.45)
        ),
        url("../assets/cliente.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

body.panel-administrador{

    background:
        linear-gradient(
            rgba(9,32,54,.45),
            rgba(9,32,54,.45)
        ),
        url("../assets/administrador.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

body.panel-tecnico{

    background:
        linear-gradient(
            rgba(9,32,54,.45),
            rgba(9,32,54,.45)
        ),
        url("../assets/tecnico.png");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    background-attachment:fixed;

}

.container{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:30px;

}

.card{

    width:100%;

    max-width:430px;

    padding:45px 35px;

    background:rgba(255,255,255,.95);

    border-radius:22px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.30);

    text-align:center;

    backdrop-filter:blur(8px);

}

h1{

    color:#0b2d4d;

    font-size:30px;

    margin-bottom:10px;

    letter-spacing:1px;

}

.subtitle{

    color:#4b6584;

    margin-bottom:35px;

    font-size:18px;

}

.buttons{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.button{

    display:block;

    padding:16px;

    border-radius:12px;

    background:#0b7ec2;

    color:white;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    transition:.25s;

}

.button:hover{

    background:#085d92;

    transform:translateY(-2px);

}

form{

    display:flex;

    flex-direction:column;

    gap:15px;

}

input,
textarea,
button{

    width:100%;

    padding:14px;

    border-radius:10px;

    border:1px solid #cfd8e3;

    font-size:15px;

}

textarea{

    resize:vertical;

    min-height:120px;

}

button{

    border:none;

    background:#0b7ec2;

    color:white;

    font-weight:bold;

    cursor:pointer;

}

button:hover{

    background:#085d92;

}

a{

    color:#0b7ec2;

    text-decoration:none;

}

pre{

    margin-top:20px;

    padding:15px;

    background:#0b2d4d;

    color:white;

    border-radius:10px;

    text-align:left;

    white-space:pre-wrap;

}

.result-card {

    padding:20px;

    color:#102a43;

    background:#eef6fc;

    border:1px solid #c9dfef;

    border-radius:12px;

    text-align:left;

}

.result-card h2{

    margin-bottom:18px;

    color:#0b2d4d;

    text-align:center;

}

.details{

    display:grid;

    grid-template-columns:1fr 1.4fr;

    gap:10px 14px;

}

.details dt{

    font-weight:700;

    color:#365f7d;

}

.details dd{

    overflow-wrap:anywhere;

}

.status-badge{

    display:inline-block;

    padding:5px 9px;

    color:#ffffff;

    background:#178b54;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

}

.panel-actions{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:20px;

}

.back-link{

    display:inline-block;

    padding:8px;

}

.panel-message{

    margin-top:16px;

    color:#147345;

    font-weight:700;

}

button:disabled{

    opacity:.55;

    cursor:not-allowed;

    transform:none;

}

@media (max-width:768px){

    body{

        background-attachment:scroll;

    }

    .card{

        max-width:95%;

        padding:35px 25px;

    }

    h1{

        font-size:26px;

    }

}

@media (max-width:480px){

    .details{

        grid-template-columns:1fr;

        gap:4px;

    }

    .details dd{

        margin-bottom:10px;

    }

}