:root {
    --bg-main: #070814;
    --bg-card: #161824;
    --accent: #f47521;
    --accent-soft: #ffb067;
    --text-main: #f5f5f5;
    --text-muted: #9fa4c4;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    background:
    radial-gradient(circle at top, #151830 0, #070814 55%, #03030a 100%);

    font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

    color: var(--text-main);
}

.card {
    background:
    radial-gradient(circle at top left, #22263a 0, var(--bg-card) 55%);

    border-radius: 18px;
    padding: 32px 30px 26px;
    width: 380px;

    box-shadow:
    0 18px 40px rgba(0,0,0,.75);

    border:
    1px solid rgba(244, 117, 33, 0.25);

    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;

    top: -80px;
    right: -60px;

    width: 160px;
    height: 160px;

    background:
    radial-gradient(circle, rgba(244,117,33,.45), transparent 60%);

    opacity: .9;
    pointer-events: none;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 4px 10px;
    border-radius: 999px;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;

    background: rgba(244,117,33,0.12);
    color: var(--accent-soft);

    margin-bottom: 10px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
}

h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

form {
    margin-top: 8px;
}

.field-group {
    margin-bottom: 10px;
    text-align: left;
}

input {
    width: 100%;

    padding: 10px 11px;

    border-radius: 10px;

    border:
    1px solid rgba(159,164,196,0.45);

    background:
    rgba(10, 11, 22, 0.65);

    color: var(--text-main);

    font-size: 13px;

    outline: none;

    transition:
    border .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

input::placeholder {
    color: #6e7394;
}

input:focus {
    border-color: var(--accent-soft);

    box-shadow:
    0 0 0 1px rgba(244,117,33,0.4);

    background:
    rgba(12, 13, 26, 0.95);
}

.btn-main {
    width: 100%;

    padding: 11px;

    margin-top: 6px;

    border-radius: 999px;

    border: none;

    background:
    linear-gradient(135deg, var(--accent) 0, #ff9147 100%);

    color: #121212;

    font-weight: 600;
    font-size: 14px;

    cursor: pointer;

    box-shadow:
    0 10px 25px rgba(244,117,33,.45);

    transition:
    transform .12s ease,
    box-shadow .12s ease,
    filter .12s ease;
}

.btn-main:hover {
    transform: translateY(-1px);

    box-shadow:
    0 14px 28px rgba(244,117,33,.55);

    filter: brightness(1.03);
}

.auth-alt {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-alt a {
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 500;
}

.auth-alt a:hover {
    text-decoration: underline;
}

.msg {
    font-size: 13px;
    margin-bottom: 10px;
    color: #ff8c8c;
}

.msg-ok {
    font-size: 13px;
    margin-bottom: 10px;
    color: #7dff9d;
}

/* ===== PROYECTO FINAL - PANEL RESPONSIVE ===== */

.panel-card{
    width: 720px;
    max-width: 92%;
}

.menu-panel{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.menu-panel a{
    text-decoration: none;
}

.tabla-contenedor{
    width: 95%;
    max-width: 1100px;
    overflow-x: auto;
}

table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 13px;
}

th{
    background: rgba(244,117,33,0.9);
    color: #111;
    padding: 10px;
}

td{
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: var(--text-main);
}

.acciones a{
    color: var(--accent-soft);
    text-decoration: none;
    margin-right: 8px;
}

.acciones a:hover{
    text-decoration: underline;
}

select{
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid rgba(159,164,196,0.45);
    background: rgba(10, 11, 22, 0.65);
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

textarea{
    width: 100%;
    min-height: 90px;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid rgba(159,164,196,0.45);
    background: rgba(10, 11, 22, 0.65);
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    resize: vertical;
}

@media (max-width: 600px){

    body{
        align-items: flex-start;
        padding: 20px 0;
    }

    .card{
        width: 92%;
        padding: 28px 22px 24px;
    }

    .panel-card{
        width: 92%;
    }

    .menu-panel{
        grid-template-columns: 1fr;
    }

    h2{
        font-size: 22px;
    }

    table{
        font-size: 12px;
    }

    th, td{
        padding: 8px;
    }
}