/* Estilos para el input de contraseña con botón de mostrar */
.password-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.password-box .agenda-input {
    width: 100%;
    padding-right: 44px;
    box-sizing: border-box;
}
.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}
.toggle-password-btn svg {
    pointer-events: none;
}

body {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #009fdb 0%, #e6f7fd 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', Arial, sans-serif;
}
.agenda-login-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 159, 219, 0.18);
    padding: 2.7rem 2.2rem 2.2rem 2.2rem;
    width: 100%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-top: 6px solid #009fdb;
}
.agenda-logo {
    width: 74px;
    height: 74px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    box-shadow: 0 2px 12px rgba(0,159,219,0.10);
    border: 2.5px solid #009fdb;
}
.agenda-logo svg {
    width: 40px;
    height: 40px;
    fill: #009fdb;
}
.agenda-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: #009fdb;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}
.agenda-subtitle {
    font-size: 1.08rem;
    color: #0077a3;
    margin-bottom: 1.6rem;
    text-align: center;
}
.agenda-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.agenda-input {
    padding: 1rem 1.1rem;
    border: 1.5px solid #b2e6f7;
    border-radius: 9px;
    font-size: 1.05rem;
    background: #f4fcff;
    transition: border 0.2s;
}
.agenda-input:focus {
    border: 1.5px solid #009fdb;
    outline: none;
    background: #fff;
}
.agenda-btn {
    padding: 1rem 1.1rem;
    background: linear-gradient(90deg, #009fdb 0%, #00bfae 100%);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 1.13rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,159,219,0.10);
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
}
.agenda-btn:hover {
    background: linear-gradient(90deg, #0077a3 0%, #00bfae 100%);
    transform: translateY(-2px) scale(1.03);
}
.agenda-error {
    color: #d9005a;
    background: #fff0f7;
    border: 1px solid #d9005a33;
    border-radius: 7px;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem;
}


@media (max-width: 600px) {
    body {
        padding: 0;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #009fdb 0%, #e6f7fd 100%);
    }
    .agenda-login-container {
        padding: 1.3rem 0.7rem 1.3rem 0.7rem;
        max-width: 95vw;
        min-height: unset;
        border-radius: 16px;
        box-shadow: 0 2px 8px 0 rgba(0, 159, 219, 0.10);
        margin: 4vh 2vw;
        box-sizing: border-box;
    }
    .agenda-logo {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }
    .agenda-logo svg {
        width: 24px;
        height: 24px;
    }
    .agenda-title {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
    .agenda-subtitle {
        font-size: 0.93rem;
        margin-bottom: 0.7rem;
    }
    .agenda-form {
        gap: 0.5rem;
    }
    .agenda-input, .agenda-btn {
        font-size: 1.05rem;
        padding: 1rem 0.8rem;
        border-radius: 12px;
    }
    .agenda-btn {
        font-size: 1.13rem;
        padding: 1.1rem 0.8rem;
        min-height: 48px;
        letter-spacing: 1px;
    }
}
