@import url("responsive.css");
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(0,255,200,0.08), transparent 40%),
        linear-gradient(180deg, #050b0f 0%, #081117 100%);
    color: #e8f7ff;
    padding: 25px;
    margin: 0;
    min-height: 90vh;
}

/* CONTENEDOR GENERAL */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,170,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,170,0.05) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
    z-index: -1;
}

/* TITULOS */
h1 {
    margin-top: 0;
    font-size: 38px;
    color: #ffffff;
    text-shadow:
        0 0 8px #00d9ff,
        0 0 20px rgba(0,217,255,0.4);
    letter-spacing: 1px;
}

h2 {
    color: #9fe7ff;
    font-weight: 400;
    margin-bottom: 20px;
}

h2 a {
    color: #00d9ff;
    text-decoration: none;
    transition: 0.3s;
}

h2 a:hover {
    color: #8f7bff;
    text-shadow: 0 0 10px #8f7bff;
}

p {
    color: #9bbbc7;
}

/* STATUS */
#status {
    margin-bottom: 20px;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 12px;
    width: fit-content;
    background: rgba(10,20,30,0.8);
    border: 1px solid rgba(0,255,255,0.15);
    box-shadow:
        0 0 12px rgba(0,255,255,0.15),
        inset 0 0 10px rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
}

/* TEXTAREA */
textarea {
    width: 80%;
    height: 140px;
    background: rgba(5,15,20,0.9);
    color: #dffcff;
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 14px;
    padding: 15px;
    font-size: 15px;
    resize: vertical;
    outline: none;
    transition: 0.3s;
    box-shadow:
        inset 0 0 20px rgba(0,255,255,0.03),
        0 0 10px rgba(0,255,255,0.05);
}

textarea:focus {
    border-color: #00d9ff;
    box-shadow:
        0 0 15px rgba(0,217,255,0.35),
        inset 0 0 10px rgba(0,217,255,0.08);
}

/* BOTONES */
button {
    padding: 12px 22px;
    margin: 10px 10px 10px 0;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00bfff, #7b5cff);
    color: white;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: 0.25s ease;
    box-shadow:
        0 0 12px rgba(0,191,255,0.25),
        0 0 25px rgba(123,92,255,0.2);
}

button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 0 18px rgba(0,217,255,0.45),
        0 0 30px rgba(123,92,255,0.4);
}

button:active {
    transform: scale(0.98);
}

/* RESULTADOS */
.result {
    background: rgba(5,15,25,0.92);
    padding: 18px;
    margin-top: 14px;
    border-left: 4px solid #00e5ff;
    border-radius: 14px;
    color: #dffcff;
    box-shadow:
        0 0 15px rgba(0,255,255,0.08),
        inset 0 0 10px rgba(255,255,255,0.02);
    transition: 0.3s;
}

.result:hover {
    transform: translateX(4px);
    border-left-color: #8f7bff;
    box-shadow:
        0 0 18px rgba(143,123,255,0.2),
        0 0 12px rgba(0,255,255,0.15);
}

/* ERRORES */
.error-box {
    border-left: 4px solid #ff4d6d;
    background: rgba(30,10,15,0.9);
}

/* ESTADOS */
.ok {
    color: #00ffae;
    text-shadow: 0 0 8px rgba(0,255,174,0.4);
}

.error {
    color: #ff5f7a;
    text-shadow: 0 0 8px rgba(255,95,122,0.4);
}

.loading {
    color: #ffd166;
    text-shadow: 0 0 8px rgba(255,209,102,0.4);
}

/* OUTPUT */
#output {
    margin-top: 25px;
}

/* SCROLL */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #081117;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#00d9ff, #7b5cff);
    border-radius: 10px;
}
