
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --fondo:#F5F7FB;--fondo-profundo:#EDF2F8;--petroleo-claro:#DCEAFB;--texto:#1E293B;--texto-secundario:#64748B;--azul:#2563EB;--azul-hover:#1D4ED8;--verde:#22C55E;--linea:rgba(37,99,235,.15);
}

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

html {
    font-size: 15px;
}

body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--texto);
    background: linear-gradient(125deg, #0b4050 0%, var(--fondo) 42%, var(--fondo-profundo) 100%);
    background-attachment: fixed;
}

header {
    border-bottom: 1px solid var(--linea);
    background: rgba(5, 36, 45, 0.92);
}

nav {
    width: min(86%, 1120px);
    margin: auto;
    padding: .9rem 0;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2.2rem;
    list-style: none;
}

nav a {
    color: var(--texto);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease;
}

nav a:hover {
    color: var(--lima);
}

main {
    width: min(86%, 1120px);
    margin: .7rem auto 2rem;
}

section,
main > form {
    padding: clamp(1rem, 2.5vw, 2rem) 0;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h1 {
    max-width: 900px;
    margin-bottom: 2.5rem;
    font-size:clamp(2.4rem,5vw,5rem);
    font-weight: 700;
}

h1::after {
    content: "";
    display: block;
    width: clamp(80px, 12vw, 160px);
    height: 6px;
    margin-top: 1.2rem;
    background: var(--lima);
}

h2 {
    margin:2.5rem 0 1.2rem;
    font-size:clamp(1.7rem,3vw,2.8rem);
    color: var(--lima);
}

h3 {
    margin:1.6rem 0 .8rem;
    font-size:clamp(1.3rem,2vw,1.9rem);
    color: var(--turquesa);
}

p,
li {
    font-size: 1.05rem;
    line-height: 1.7;
}

form {
    max-width: 850px;
}

label {
    display: block;
    margin: 1.5rem 0 .65rem;
    color: var(--texto);
    font-size:1rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding:.9rem 1.2rem;
    background: rgba(5, 36, 45, 0.65);
    color: var(--texto);
    border: 0;
    border-bottom: 2px solid #4d7379;
    border-radius: 0;
    outline: none;
    font: inherit;
    font-size:1rem;
    min-height:50px;
    transition: border-color .2s ease, background .2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--lima);
    background: rgba(5, 36, 45, 0.9);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: .6rem;
    accent-color: var(--lima);
    transform: scale(1.25);
}

button {
    margin: 2rem .6rem 0 0;
    padding:.8rem 1.5rem;
    border: 2px solid var(--lima);
    border-radius: 0;
    background: var(--lima);
    color: var(--fondo-profundo);
    font: inherit;
    font-size:.95rem;
    font-weight: 700;
    cursor: pointer;
    min-height:48px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

button:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--lima);
}

.Regresar,
#btnCancelarEditarOferta {
    background: transparent;
    color: var(--texto);
    border-color: var(--texto-secundario);
}

.Regresar:hover,
#btnCancelarEditarOferta:hover {
    color: var(--lima);
    border-color: var(--lima);
}

table {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
    background: transparent;
}

/* thead {
    border-top: 2px solid var(--lima);
    border-bottom: 2px solid var(--lima);
} */

th {
    padding:1rem;
    color: var(--lima);
    font-family: "Space Grotesk", sans-serif;
    font-size:1rem;
    text-align: left;
}

td {
    padding:1rem;
    color: var(--texto);
    font-size:.95rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

tbody tr:hover {
    background: rgba(200, 255, 61, .06);
}

td button {
    margin: .2rem;
    padding: .65rem .9rem;
    font-size: .9rem;
}

.error,
[id^="pMensaje"],
#pOfertasAdmin {
    margin-top: 1.4rem;
    color: var(--lima);
    font-size: 1.05rem;
    font-weight: 700;
}

#lstOfertasPorEstado {
    margin: 1.5rem 0 0 1.4rem;
}

#lstOfertasPorEstado li {
    padding: .55rem 0;
    font-size: 1.05rem;
}

.cardDorada {
    border: 0;
    box-shadow: none;
}

@media (max-width: 900px) {
    html {
        font-size: 17px;
    }

    nav ul {
        justify-content: flex-start;
    }

    main {
        width: 90%;
        margin-top: 3rem;
    }

    table {
        min-width: 720px;
    }

    section {
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    header {
        position: static;
    }

    nav {
        width: 88%;
        padding: 1rem 0;
    }

    nav ul {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }

    main {
        width: 88%;
        margin: 2.5rem auto;
    }

    h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
        margin-bottom: 2rem;
    }

    h2 {
        margin-top: 2.5rem;
    }

    label,
    input,
    select,
    textarea {
        font-size: 1rem;
    }

    button {
        width: 100%;
        margin: .8rem 0 0;
    }

    th {
        font-size: 1rem;
    }

    td {
        font-size: .95rem;
    }
}


/* ---------- LIQUID GLASS ---------- */

section,
main > form {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.09),
        rgba(255, 255, 255, 0.025)
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 24px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

input,
select,
textarea {
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(200, 255, 61, 0.75);
    background: rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 4px rgba(200, 255, 61, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

button {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(
        135deg,
        rgba(200, 255, 61, 0.95),
        rgba(162, 235, 61, 0.82)
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 10px 28px rgba(0, 0, 0, 0.16);
}

button:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 32px rgba(0, 0, 0, 0.2);
}

.Regresar,
#btnCancelarEditarOferta {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.055);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 20px 45px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

thead {
    background: rgba(255, 255, 255, 0.07);
}

th {
    border-bottom: 1px solid rgba(200, 255, 61, 0.3);
}

td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: rgba(200, 255, 61, 0.07);
}

td button {
    border-radius: 999px;
}

#lstOfertasPorEstado li {
    margin-bottom: .7rem;
    padding: .8rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 600px) {
    section,
    main > form {
        padding: 1.25rem;
        border-radius: 24px;
    }

    input,
    select,
    textarea {
        border-radius: 16px;
    }

    table {
        border-radius: 20px;
    }
}

/* CLEAN LIQUID GLASS - SIN CARDS */
section, main > form{padding:clamp(1rem,2vw,2rem) 0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
form{max-width:900px}
label{margin-top:1.8rem;margin-bottom:.75rem}
input,select,textarea{min-height:58px;padding:1rem 1.3rem;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.07);color:var(--texto);box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 12px 30px rgba(0,0,0,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:3.5rem;background-color:rgba(255,255,255,.07);background-image:linear-gradient(45deg,transparent 50%,#c8ff3d 50%),linear-gradient(135deg,#c8ff3d 50%,transparent 50%);background-position:calc(100% - 24px) 50%,calc(100% - 17px) 50%;background-size:7px 7px,7px 7px;background-repeat:no-repeat}
select option{background:#0b3542;color:#f5fbfa;font-family:"Manrope",sans-serif;font-size:1.05rem;font-weight:500}
select option:checked{background:#c8ff3d;color:#05242d}
button{min-height:54px;padding:.9rem 1.7rem;border-radius:999px}
table{border-radius:28px;overflow:hidden;background:rgba(255,255,255,.055)}
th{padding:1.25rem 1rem;font-size:1.1rem}
td{padding:1.25rem 1rem;font-size:1.05rem}
#lstOfertasPorEstado li{margin-bottom:.35rem;padding:.7rem 0;border:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:900px){form{max-width:100%}section,main > form{padding:1rem 0}}
@media(max-width:600px){section,main > form{padding:.5rem 0}input,select,textarea{min-height:54px;border-radius:17px}table{border-radius:22px}}

body{background:linear-gradient(180deg,#fff 0%,var(--fondo) 40%,var(--fondo-profundo)100%)!important;}header{background:rgba(255,255,255,.78)!important;border-bottom:1px solid rgba(37,99,235,.08)!important}nav a:hover,h2,h3,th{color:var(--azul)!important}h1::after{background:var(--verde)!important}input,select,textarea{background:rgba(255,255,255,.82)!important;color:var(--texto)!important;border:1px solid rgba(37,99,235,.12)!important}input:focus,select:focus,textarea:focus{border-color:var(--azul)!important;box-shadow:0 0 0 5px rgba(37,99,235,.12)!important}select option{background:#fff;color:#1E293B}button{background:linear-gradient(135deg,var(--azul),#3B82F6)!important;color:#fff!important}button:hover{background:linear-gradient(135deg,var(--azul-hover),var(--azul))!important;color:#fff!important}.Regresar,#btnCancelarEditarOferta{background:#fff!important;color:var(--azul)!important;border:1px solid rgba(37,99,235,.18)!important}table{background:rgba(255,255,255,.82)!important;border:1px solid rgba(37,99,235,.08)!important}thead{background:#EFF6FF!important}tbody tr:hover{background:#F8FBFF!important}.error,[id^='pMensaje'],#pOfertasAdmin{color:#16A34A!important}