@import url('https://fonts.googleapis.com/css?family=Inter:400,500,700&display=swap');

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: radial-gradient(ellipse at 60% 30%, #ffe5e5 0%, #fcf8f8 100%);
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 460px;
    margin: 74px auto;
    background: #fff;
    padding: 45px 34px 32px 34px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    border: 1.5px solid #faecee;
    overflow: hidden;
}

.container > * {
    position: relative;
    z-index: 2;
}

.bienvenido {
    color: #b71c1c;
    padding: 24px;
    margin-bottom: 26px;
    text-align: center;
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    color: #d32f2f;
    font-size: 2.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

label {
    font-size: 1.04rem;
    color: #c62828;
    font-weight: 600;
    margin-top: 11px;
    margin-bottom: 5px;
    display: block;
    letter-spacing: 0.4px;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 17px;
    margin-bottom: 18px;
    border-radius: 9px;
    border: 1.5px solid #fbcfd0;
    font-size: 1.13rem;
    background: #fceaea;
    transition: border-color 0.18s, box-shadow 0.19s;
    box-sizing: border-box;
}

input[type=text]:focus,
input[type=password]:focus {
    border-color: #c62828;
    box-shadow: 0 1px 8px rgba(183,28,28,0.07);
    outline: none;
}

input[type=submit], .logout-btn {
    background: linear-gradient(90deg, #b71c1c 0%, #d32f2f 100%);
    color: #fff;
    border: none;
    padding: 12px 0;
    width: 100%;
    font-size: 1.18rem;
    font-weight: 600;
    margin: 12px 0 28px 0;
    border-radius: 9px;
    cursor: pointer;
    box-shadow: 0 2px 18px rgba(183,28,28,0.10);
    letter-spacing: 0.7px;
    transition: background 0.17s, transform 0.13s;
    position: relative;
    display: block;
}
input[type=submit]:hover, .logout-btn:hover {
    background: linear-gradient(90deg, #d32f2f 0%, #b71c1c 90%);
    transform: translateY(-2px) scale(1.03);
}

.error {
    color: #d32f2f;
    background: #ffe6e6;
    border: 1.5px solid #ffbdbd;
    border-radius: 7px;
    padding: 10px 0px;
    margin-bottom: 22px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 12px rgba(209,47,47,0.03);
}

ul {
    width: 100%;
    padding-left: 0;
    margin: 0 0 12px 0;
    list-style: none;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.09rem;
    background: #fceaea;
    border-left: 4px solid #b71c1c;
    padding: 8px 19px 8px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background 0.16s, border-color 0.14s;
    position: relative;
}
ul li:hover {
    background: #faebeb;
    border-left-color: #d32f2f;
}

ul li:before {
    content: "📄";
    font-size: 1.15em;
    margin-right: 11px;
    opacity: 0.65;
}

a {
    color: #b71c1c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.14s;
    font-family: inherit;
}
a:hover {
    text-decoration: underline;
    color: #880808;
}

/* Responsive para móviles */
@media (max-width: 540px) {
    .container {
        max-width: 99vw;
        padding: 20px 3vw 15px 3vw;
        border-radius: 14px;
    }
    h2 {
        font-size: 1.26rem;
        margin-bottom: 12px;
    }
    input[type=submit], .logout-btn {
        font-size: 1rem;
        margin-bottom: 18px;
    }
}
