/* Botón cerrar sesión estilo cover */
#logout {
background: #fa6060;
color: #181824;
border: none;
border-radius: 8px;
padding: 10px 24px;
font-size: 1rem;
cursor: pointer;
margin-top: 10px;
margin-bottom: 5px;
transition: background 0.3s, box-shadow 0.3s;
box-shadow: 0 2px 8px rgba(59,130,246,0.18);
font-weight: bold;
}

#logout:hover {
  background: #c53030;
  color: #fff;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #101820;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fefefe;
}

#login-container, #main-container {
    background: #141c24;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(93,255,219,0.10);
    padding: 36px 28px;
    min-width: 320px;
    max-width: 95vw;
    text-align: center;
    color: #fefefe;
}

.logo-header {
    margin-bottom: 18px;
}
.logo-img {
    max-width: 220px;
    height: auto;
    border-radius: 12px;
    background: #000;
    padding: 8px;
    transition: transform 0.3s;
}
.logo-img:hover {
    transform: scale(1.08);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #fefefe;
    font-weight: 700;
    letter-spacing: 1px;
}

h2 {
    color: #5dffdb;
    margin-bottom: 20px;
    text-shadow: 1px 1px 8px #162b34;
    transition: color 0.3s;
}
h2:hover {
    color: #fff;
}

#counter {
    margin-top: 32px;
    font-size: 2.2rem;
    color: #fefefe;
    font-weight: bold;
}

#days-count {
    font-size: 3.5rem;
    color: #5dffdb;
    display: block;
    margin-bottom: 8px;
    font-family: 'Roboto Mono', monospace;
    background: #101820;
    border-radius: 8px;
    padding: 8px 32px;
    box-shadow: 0 2px 8px rgba(93,255,219,0.18);
}

input[type="text"], input[type="password"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #5dffdb;
    border-radius: 8px;
    font-size: 1rem;
    background: #101820;
    color: #fefefe;
    transition: border 0.2s;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 1.5px solid #fefefe;
    outline: none;
}

button {
    background: #5dffdb;
    color: #162b34;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 5px;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(93,255,219,0.18);
    font-weight: bold;
}
button:hover {
    background: #2d7767;
    color: #fefefe;
}

@media (max-width: 600px) {
    #login-container, #main-container {
        padding: 16px 8px;
        min-width: 95vw;
    }
    h1 {
        font-size: 2rem;
    }
    #days-count {
        font-size: 2.2rem;
    }
    #logout {
        width: 100%;
        background: #5dffdb;
        color: #162b34;
        font-size: 1.1rem;
        font-weight: bold;
        border: none;
        border-radius: 12px;
        padding: 14px 0;
        margin-top: 18px;
        box-shadow: 0 2px 12px rgba(93,255,219,0.15);
        transition: background 0.2s, box-shadow 0.2s;
        letter-spacing: 1px;
    }
    #logout:hover {
        background: #15de41;
        color: #fefefe;
        transition: background 0.2s;
    }
}